Price Change Sentiment Index [tradeviZion]Price Change Sentiment Index
A technical indicator that measures price changes relative to the day's range.
Indicator Overview
Normalizes price changes on a 0-100 scale
Uses a smoothing period for signal clarity
Shows potential overbought/oversold conditions
Inputs
Smoothing Period (default: 3)
Show Background Colors (on/off)
Overbought Level (default: 75)
Oversold Level (default: 25)
Reading the Indicator
Values above 75: Price change showing strong upward movement
Values below 25: Price change showing strong downward movement
Around 50: Neutral price movement
Technical Details
// Core calculation
changePct = (currClose - prevClose) / (high - low)
normalized = 50 + (changePct * 50)
smoothedNormalized = ta.sma(normalizedClamped, smoothingPeriod)
Usage Notes
Best used with other technical analysis tools
Adjustable smoothing period affects signal sensitivity
Background colors highlight extreme readings
Works on any timeframe
Settings Guide
Smoothing Period:
- Lower values (1-3): More responsive
- Higher values (5-10): Smoother output
Visual Settings: Toggle background colors
Levels: Adjust overbought/oversold thresholds
This indicator is a technical analysis tool. Please conduct your own research and testing before use.
Sentiment
Major Session Highs/LowsThis indicator creates horizontal lines at major session high/lows (US, London, and Asian). The script updates the lines automatically, on session close.
For instance, when viewing during the US session, after the London overlap, horizontal lines will be displayed at the following levels.
The high/low of the most recent London session.
The high/low of the most recent Asian session.
The high/low of the last full US session, i.e. the session of the day prior.
When the current US session closes, the US levels automatically update.
SPDR Sectors TableThis script generates an interactive and customizable SPDR Sectors Table designed to monitor and analyze the performance of the 11 main sectors of the S&P 500 via sector-specific ETFs. It offers a dynamic overview of daily or periodic sector movements, making it a valuable tool for traders, analysts, and investors implementing sector rotation strategies.
█ DEFINITIONS
SPDR Sectors ETFs are exchange-traded funds managed by State Street Global Advisors, which divide the S&P 500 into the following 11 sectors:
- Communication Services (XLC)
- Consumer Discretionary (XLY)
- Consumer Staples (XLP)
- Energy (XLE)
- Financials (XLF)
- Health Care (XLV)
- Industrials (XLI)
- Materials (XLB)
- Real Estate (XLRE)
- Technology (XLK)
- Utilities (XLU)
These ETFs aim to replicate the performance of their respective sectors as defined by the Global Industry Classification Standard (GICS). The funds are periodically rebalanced to match changes in the S&P 500 composition, offering an accurate snapshot of sectoral trends.
█ INDICATOR
The table displays each sector's ticker and full name, following official GICS terminology and SPDR color coding. It also shows percentage performance, calculated daily on intraday charts or based on the selected time frame.
Users can sort the table by either percentage performance or the relative weight of each ETF in the S&P 500. The default weight values reflect data updated as of 17 April 2025, and can be manually adjusted based on the most recent sector weightings available on the official SPDR website.
WaveTrend Matrix (1m-1w) – Custom ThresholdsA visual control panel for momentum exhaustion across ten key time-frames.
—
🧬 DNA
This is a fork of LazyBear’s original WaveTrend Oscillator .
The oscillator logic is 100 % intact; I simply stream the values into a compact table so that day- and swing-traders can see the “bigger picture” at a glance.
📈 What does it do?
Calculates WaveTrend on ten granularities: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w.
Displays the current oscillator print in a color-coded matrix.
• Red = overbought (≥ high threshold)
• Green = oversold (≤ low threshold)
• Gray = neutral / in-range
All thresholds are user-adjustable.
Built on Pine v5, zero repainting, works on any symbol.
🛠 Parameters
Channel Length – WT “n1” (default 10)
Average Length – WT “n2” (default 21)
Red from – overbought cut-off (default +60)
Green under – oversold cut-off (default –60)
🚀 How to use it
1. Apply the indicator to your chart – no extra setup required.
2. Read the matrix top-down before every entry:
• Multiple deep-green rows → market broadly oversold → watch for longs.
• Multiple deep-red rows → market broadly overbought → watch for shorts or stay flat.
3. Combine with your trend filter (EMA-stack, VWAP, structure) to avoid counter-trend trades.
Hippo Battlefield - Bulls VS Bears 20 bars## Hippo Battlefield – Bulls VS Bears (20 Bars)
**What it is**
A multi-dimensional momentum-and-sentiment oscillator that combines classic Bull/Bear Power with ATR- or peak-normalization, then layers on RSI and MACD-derived metrics into:
1. **A colored bar series** showing net Bull+Bear Power strength over the last 20 bars,
2. **A dynamic table** of each of those 20 BBP values (grouped into four 5-bar “quartals”), with symbols, per-bar change, and rolling averages, and
3. **A composite “Weighted BBP” histogram** blending normalized RSI, MACD, and BBP into a single view.
---
### Key Inputs
- **Length (EMA)** – look-back for the underlying EMA (default 60)
- **Normalization Length** – look-back window for peak-normalization (default 60)
- **Use ATR for Norm.** – toggle ATR-based normalization vs. highest-abs(BBP)
- **Show Tables** – toggle the bottom-right 21×11 grid of raw and average BBP values
---
### What You See
#### 1. Colored Bars (Overlay = false)
- Bars are colored by normalized BBP intensity:
- Extreme Bull (≥+10): deep blue
- Strong Bull (+5 to +10): green/yellow
- Weak Bull (+0 to +5): dark green
- Weak Bear (–0 to –5): dark red
- Strong Bear (–5 to –10): pink/red
- Extreme Bear (<–10): magenta
#### 2. Bottom-Right Table (20 Bars of Data)
- Divided into four columns (0–4, 5–9, 10–14, 15–19 bars ago) and one “average” row.
- Each cell shows:
1. Bar index (1–20),
2. Normalized BBP value (to four decimals),
3. Direction symbol (↑/↓/=),
4. Bar-to-bar change (± value),
5. A separator “|”.
- At the very bottom, each column’s 5-bar average is displayed as “Avg: X.XXXX” with a dot marker.
#### 3. Top-Center Mini-Table
- When ≥20 bars have elapsed, shows the date at 20 bars ago and the average BBP across the full 20-bar window.
#### 4. Normalized RSI Line
- Rescales the classic 14-period RSI into a –20…+20 band to align with BBP.
#### 5. MACD Lines (Hidden) & Composite Histogram
- MACD and signal lines are calculated but not plotted by default.
- A “Weighted BBP” histogram combines:
- 20% normalized RSI,
- 20% average of (MACD + signal + normalized BBP),
- 60% normalized BBP
- Plotted as columns, color-coded by strength using the same palette as the main bars.
#### 6. Middle Reference Line
- A horizontal zero line to anchor over/under-zero readings.
---
### How to Use It
- **Trend confirmation**: Strong blue/green bars alongside a rising histogram suggest bull conviction; strong reds/magentas signal bear dominance.
- **Divergence spotting**: Watch for price making new highs/lows while BBP or the histogram fails to follow.
- **Quartal analysis**: The 5-bar group averages can reveal whether recent momentum is accelerating or waning.
- **Cross-indicator weighting**: Because RSI, MACD, and raw BBP all feed into the final histogram, you get a smoothed, blended view of momentum shifts.
---
**Tip:** Tweak the EMA and normalization length to suit your preferred timeframe (e.g. shorter for intraday scalps, longer for swing trades). Enable/disable the table if you prefer a cleaner pane.
My-Indicator - Global Liquidity & Money Supply M2 + Time OffsetThis script is designed to visualize a global liquidity and money supply index by combining data from various regions and, optionally, central bank activity. Visualizing this data on a chart allows you to see how central banks are intervening in the financial system and how the total amount of money in the economy is changing. Let’s take a look at how it works:
Central Bank Liquidity
Shows the actions of central banks (e.g. FED, ECB) providing short-term cash to commercial banks. If you see spikes or a steady increase in these indicators, it may suggest that liquidity is being increased through intervention, which often stimulates the market.
Money Supply
M2 money supply is a monetary aggregate that includes M1 (cash and current deposits) plus savings deposits, small term deposits, and other financial instruments that, while not as liquid as M1, can be quickly converted into cash. As a result, M2 provides a broader picture of the available money in the economy, which is useful for analyzing market conditions and potential economic trends.
How does it help investors?
It allows you to quickly see when central banks are injecting additional liquidity, which could signal higher prices.
It allows you to see trends in the money supply, which informs potential changes in inflation and the economic cycle.
Combining both sets of data provides a more complete picture – both in the short and long term – which makes it easier to predict upcoming price movements.
This allows investors to better respond to changes in central bank policy and broader monetary trends, increasing their chances of making better investment decisions.
Data Collection
The script retrieves money supply data for key markets such as the USA (USM2), Europe (EUM2), China (CNM2), and Japan (JPM2). It also offers additional money supply series for other markets—like Canada (CAM2), Great Britain (GBM2), Russia (RUM2), Brazil (BRM2), Mexico (MXM2), and New Zealand (NZM2)—with extra options (e.g., Australia, India, Korea, Indonesia, Malaysia, Sweden) disabled by default. Moreover, you can enable data for central bank liquidity (such as FED, RRP, TGA, ECB, PBC, BOJ, and other central banks), which are also disabled by default.
Index Calculation
The indicator calculates the index by adding together all the enabled money supply series (and the central bank data if activated) and then scales the sum by dividing it by 1,000,000,000,000 (one trillion). This scaling makes the resulting values more manageable and easier to read on the chart.
Time Offset Feature
A key feature of the script is the time offset. With the input parameter "Time Offset (days)", the user can shift the plotted index line by a specific number of days. The script converts the given offset in days into a number of bars based on the current chart's timeframe. This allows you to adjust for the delay between liquidity changes and their effect on asset prices.
Overall, the indicator plots a line on your chart representing the global liquidity and money supply index, allowing you to visually monitor trends and better understand how liquidity and central bank actions may influence market movements.
What makes this script different from others?
Every supported market—both major regions (USA, Eurozone, China, Japan, etc.) and additional ones—is available. You can toggle each series on or off, so you can view only Money Supply data, only Central Bank Liquidity, or any custom combination.
Separated Data Groups. Inputs are organized into clear groups (“Money Supply”, “Other Money Supply”, “Central Bank Liquidity”), making it easy to focus on just the data you need without clutter.
True Day‑Based Offset. This script converts your chosen “Time Offset (days)” into actual days regardless of timeframe. Whether you’re on a 5‑minute or daily chart, the index is always shifted by exactly the number of days you specify.
Quantum Delta Zones with EnhancementsQuantum Delta Zones (QDZ)
Short Title: QDZ
Overview
The Quantum Delta Zones (QDZ) is a unique technical indicator designed to highlight high-probability order block zones in the market based on a combination of Delta Sensitivity, order block tightness, and volume-based filters.
This indicator helps traders to identify key support and resistance levels (bullish and bearish order blocks) that are backed by strong volume and optimal market structure. It employs advanced zone detection and automatic zone management (box creation and deletion) to enhance trade analysis.
The primary objective of QDZ is to provide clear, visually appealing support/resistance zones while factoring in market order flow dynamics, ensuring that you are trading at optimal levels with confirmed volume behind it.
Key Features
Delta Sensitivity: The indicator uses a body-to-range ratio to assess the "delta" between the body and wick of each candlestick, helping to identify strong order block formations based on market sentiment.
Order Block Tightness: A filter is used to detect small, tight order blocks where price action shows accumulation (small body candles) near high-probability levels.
Projection Distance: The ability to project the detected order block zones into the future, providing an idea of where price might react based on historical price action.
Fade Strength: Allows you to adjust the transparency of the projected zones, giving you visual flexibility depending on how prominent you want these order blocks to appear.
Volume Filter: A high-volume filter ensures that only zones with substantial volume (based on a moving average) are considered for box creation, preventing false signals and low-probability trades.
Auto Box Deletion: When the market invalidates a zone (price moves beyond the zone’s projected area), the boxes are automatically deleted to keep the chart clean.
Alerts: Built-in alerts for when a bullish or bearish order block is detected, providing real-time notifications of significant potential trading opportunities.
How it Works
Step-by-Step Explanation:
Delta Sensitivity:
A candlestick is considered "Bullish" if the closing price is above the opening price and the body-to-range ratio is above the user-defined delta Sensitivity.
A candlestick is considered "Bearish" if the closing price is below the opening price with the same body-to-range ratio criteria.
Order Block Tightness:
The indicator looks for tight order blocks, where the body-to-range ratio is below the orderBlock Tightness setting, indicating small candles that may represent accumulation or distribution zones.
Volume Filter:
The indicator applies a filter to check if the volume is above the 50-period simple moving average (SMA) and multiplied by the user-defined volume Multiplier. Only zones with sufficient volume are considered.
Box Creation:
Once a valid order block is detected, the corresponding bullish or bearish box is drawn on the chart. These boxes extend forward by the number of bars specified by projection Bars.
Box Deletion:
If the price moves against the order block (for example, if a bullish box is invalidated when the price closes below its bottom), the box is automatically deleted to keep your chart uncluttered.
Alert System:
Alerts can be set for both bullish and bearish order block detection, notifying traders of the formation of a potential market opportunity.
Inputs / Settings
Delta Sensitivity: The ratio between the candlestick body and its range. Higher values mean stronger bullish/bearish pressure is required to trigger the order block detection.
Order Block Tightness: Defines how tight or small an order block should be to qualify for detection. Smaller values are more sensitive to smaller candlesticks.
Projection Distance: The number of bars into the future that the identified order block should be projected. Useful for seeing potential future support/resistance zones.
Fade Strength: Defines the transparency level of the order block boxes. Higher values result in more transparent boxes, lower values make the boxes more opaque.
Auto Delete: Automatically deletes order blocks if they are invalidated by price action.
Volume Filter: When enabled, only order blocks formed with higher-than-average volume will be considered. This helps eliminate low-probability signals.
Volume Multiplier: Multiplies the average volume by this factor to determine whether the current volume qualifies as "high" for an order block detection.
Visuals
Bullish Order Block: A green box is drawn when a bullish order block is detected. The box is projected forward based on the projection Bars setting.
Bearish Order Block: A red box is drawn when a bearish order block is detected. Similar to the bullish box, it is projected forward.
Fading: Both bullish and bearish boxes fade based on the fade Strength, making the most recent zones more visible while fading out older, less relevant zones.
How to Use in Trading
Bullish Order Block:
A bullish order block is a potential buy area. Once price retraces to the bottom of a detected bullish box, traders may consider it a buy zone, especially if it aligns with other technical factors (e.g., support, trend).
Bearish Order Block:
A bearish order block is a potential sell area. Once price retraces to the top of a detected bearish box, traders may consider it a sell zone, particularly in downtrends or near resistance.
Risk Management:
The projection Bars setting helps to set a clear projection distance. Traders should use their own risk management strategies, such as stop-loss placements below/above the order block zones, and take-profit levels based on market conditions.
Volume Confirmation:
The Volume Filter can be very useful for confirming order blocks. Trading only when an order block is accompanied by high volume ensures the zone has institutional or market-maker backing.
Box Deletion:
The Auto Delete feature automatically removes invalidated zones, keeping the chart clean and preventing you from trading out-of-date or broken levels.
Trading Strategy Example
Bullish Setup:
Look for a bullish order block (green box) formed after price has been trending down and volume is high.
Wait for price to retrace back into the order block zone.
Enter long at the bottom of the order block when price shows signs of support (e.g., bullish candlestick pattern).
Set stop-loss below the bottom of the order block and a take-profit target at a significant resistance level.
Bearish Setup:
Look for a bearish order block (red box) formed after price has been trending up and volume is high.
Wait for price to retrace back into the order block zone.
Enter short at the top of the order block when price shows signs of resistance (e.g., bearish candlestick pattern).
Set stop-loss above the top of the order block and a take-profit target at a significant support level.
Limitations
The QDZ indicator is based on historical price action, and while it is designed to identify areas of strong market participation, it does not guarantee future price behavior.
Traders should always combine this indicator with other technical analysis tools, such as trend analysis, oscillators, or fundamental factors, to improve their decision-making process.
Conclusion
The Quantum Delta Zones (QDZ) indicator is a powerful tool for traders looking to pinpoint high-probability order blocks that are backed by volume and strong market dynamics.
It integrates well with existing trading strategies by providing clear, actionable zones of support and resistance, while also offering advanced features like fade strength, auto-deletion, and volume filters.
Whether you're trading intraday or longer-term, this tool can be an essential part of your trading toolbox.
This is an educational idea, trade at your own desecration.
Regards.
Global M2The Global Liquidity M2 Indicator tracks the aggregate M2 money supply across major economies (e.g., US, China, Eurozone, Japan, UK), converted to USD for consistency. M2 includes cash, checking/savings deposits, and easily convertible near-money. It visualizes global liquidity trends, helping investors assess economic conditions and potential impacts on asset prices, like stocks or cryptocurrencies, with higher M2 levels often signaling increased liquidity and economic growth.
Altseason Index | AlchimistOfCrypto
🌈 Altseason Index | AlchimistOfCrypto – Revealing Bitcoin-Altcoin Dominance Cycles 🌈
"The Altseason Index, engineered through advanced mathematical methodology, visualizes the probabilistic distribution of capital flows between Bitcoin and altcoins within a multi-cycle paradigm. This indicator employs statistical normalization principles where ratio coefficients create mathematical boundaries that define dominance transitions between cryptographic asset classes. Our implementation features algorithmically enhanced rainbow visualization derived from extensive market cycle analysis, creating a dynamic representation of value flow with adaptive color gradients that highlight critical phase transitions in the cyclical evolution of the crypto market."
📊 Professional Trading Application
The Altseason Index transcends traditional sentiment models with a sophisticated multi-band illumination system that reveals the underlying structure of crypto sector rotation. Scientifically calibrated across different ratios (TOTAL2/BTC, OTHERS/BTC) and featuring seamless daily visualization, it enables investors to perceive capital transitions between Bitcoin and altcoins with unprecedented clarity.
- Visual Theming 🎨
Scientifically designed rainbow gradient optimized for market cycle recognition:
- Green-Blue: Altcoin accumulation zones with highest capital flow potential
- Neutral White: Market equilibrium zone representing balanced capital distribution
- Yellow-Red: Bitcoin dominance regions indicating defensive capital positioning
- Gradient Transitions: Mathematical inflection points for strategic reallocation
- Market Phase Detection 🔍
- Precise zone boundaries demarcating critical sentiment shifts in the crypto ecosystem
- Daily timeframe calculation ensuring consistent signal reliability
- Multiple ratio analysis revealing the probabilistic nature of market capital flows
🚀 How to Use
1. Identify Market Phase ⏰: Locate the current index relative to colored zones
2. Understand Capital Flow 🎚️: Monitor transitions between Bitcoin and altcoin dominance
3. Assess Mathematical Value 🌈: Determine optimal allocation based on zone location
4. Adjust Investment Strategy 🔎: Modulate position sizing based on dominance assessment
5. Prepare for Rotation ✅: Anticipate capital shifts when approaching extreme zones
6. Invest with Precision 🛡️: Accumulate altcoins in lower zones, reduce in upper zones
7. Manage Risk Dynamically 🔐: Scale portfolio allocations based on index positioning
MastersCycleSignal(Mastersinnifty)Overview
MastersCycleSignal is a high-precision market timing and projection indicator for trend-following and swing traders.
It combines an adaptive cycle detection algorithm, forward-looking sine wave projections, dynamic momentum confirmation, and Gann Square of 9-based geometric targets into a complete structured trading framework.
The script continuously analyzes price oscillations to detect dominant cycles, projects expected price behavior with future-facing sine approximations, and generates buy/sell signals once confirmed by adaptive momentum filtering.
Upon confirmation, it calculates mathematically consistent Gann-based target levels and risk-managed stop-loss suggestions.
Users also benefit from auto-extending targets as price action unfolds — helping traders anticipate rather than react to market shifts.
---
Uniqueness
MastersCycleSignal stands apart through a unique fusion of techniques:
- Dynamic Cycle Detection
- Detects dominant cycles using a cosine correlation maximization method between detrended price (close minus SMA) and theoretical cosine curves, dynamically recalibrated across a sliding window.
- Sine Wave Future Projection
- Smooths and projects future price paths by approximating a forward sine wave based on the real-time detected dominant cycle.
- Adaptive Momentum Filtering
- Volatility is scaled by divergence between normalized returns and a 5-period EMA, further adjusted by an RSI(2) factor.
- This makes buy/sell signal confirmation robust against noise and false breakouts.
- Gann-Based Target Computation
- Uses a square-root transformation of price, incremented by selectable Gann Square of 9 degrees, for calculating progressive and dynamically expanding price targets.
- Auto-Extending Targets
- As price achieves a projected target, the system automatically draws subsequent new targets based on the prior target differential — providing continuous guidance in trending conditions.
---
Usefulness
MastersCycleSignal is built to help traders:
- Identify early trend reversals through cycle shifts.
- Forecast probable price paths in advance.
- Plan systematic target and stop-loss zones with geometric accuracy.
- Reduce guesswork in trend-following and swing trading.
- Maintain structured discipline across intraday, swing, and positional strategies.
It works seamlessly across stocks, indices, forex, commodities, and crypto markets — on any timeframe.
---
How to Use
- Attach the indicator to your desired chart.
- When a Buy Signal or Sell Signal appears (green or red markers):
- Use the attached stop-loss labels to manage risk.
- Monitor the automatically plotted target lines for partial exits or full profits.
- The orange projected sine wave illustrates the expected future market path.
- Customization Options:
- Cycle Detection Length — adjust to fine-tune cycle sensitivity.
- Projection Length — modify the forward distance of sine wave forecast.
- Gann Square of 9 Degrees — personalize target increments.
- Toggle Signals and Target visibility as needed.
---
Disclaimer
- MastersCycleSignal uses no future data or lookahead bias.
- All projections are based on geometric extrapolations from historical price action — not guaranteed predictions.
- Trading involves risks, and historical cycle behavior may differ in future conditions.
Zero Lag Delta System [Hybrid Version] - Inverted🔹 Zero Lag Delta System — Inverted 🔹
The Zero Lag Delta System is a hybrid momentum oscillator designed to capture real-time trend shifts and market strength with maximum responsiveness and minimum lag.
Unlike traditional moving averages or momentum indicators, this tool applies a zero lag smoothing algorithm on price data to reduce delay without sacrificing stability.
It then measures the dynamic delta — the difference between two zero lag averages — to track the push and pull between bullish and bearish pressure in real time.
Key Features:
📈 Bullish momentum appears as green bars rising above the centerline.
📉 Bearish momentum appears as red bars falling below the centerline.
🧠 Zero lag smoothing provides faster and cleaner trend recognition.
🧩 Dynamic bands adapt to volatility, highlighting when moves are statistically significant.
🎯 Auto background coloring shows when momentum is strong, weak, or neutral.
🔔 Built-in alerts for bullish and bearish zero crosses.
🧠 How to Trade with Zero Lag Delta System:
1. Bullish Cross:
Signal: Delta crosses above the zero line.
Possible Action: Look for potential long (buy) opportunities.
2. Bearish Cross:
Signal: Delta crosses below the zero line.
Possible Action: Look for potential short (sell) opportunities.
3. Breakout Above Upper Band:
Signal: Strong bullish momentum confirmed by breakout over the dynamic upper band.
Possible Action: Consider aggressive long entries with trend confirmation.
4. Breakout Below Lower Band:
Signal: Strong bearish momentum confirmed by breakout under the dynamic lower band.
Possible Action: Consider aggressive short entries with trend confirmation.
5. Return to Neutral Zone:
Signal: Delta moves back toward the centerline, indicating weakening momentum.
Possible Action: Be cautious, tighten stops, or stay neutral until a clear signal emerges.
📚 Example Trading Scenarios:
Trend Entry:
When delta crosses above the zero line and stays above, price often enters a healthy uptrend. Look for pullbacks to enter with the trend.
Breakout Confirmation:
If delta moves sharply outside the dynamic bands (especially after consolidation), it often confirms a new momentum breakout.
Divergence Detection:
If price makes new highs but delta fails to do so (or vice versa), it may hint at hidden reversal opportunities.
⚡ Why Use Dynamic Bands Instead of Fixed Levels?
Unlike traditional 20/80 fixed levels that assume static market behavior, dynamic bands adapt automatically to current volatility conditions.
This ensures the indicator remains highly sensitive during calm markets, yet avoids overreacting during high-volatility phases.
Dynamic bands provide:
✅ Better precision in spotting true momentum breakouts.
✅ More accurate filtering of noise during sideways markets.
✅ A more adaptive and universal system across different assets (forex, crypto, stocks).
🔥 Final Thoughts:
The Zero Lag Delta System provides a simple yet powerful visual framework for understanding price momentum at a deeper level.
Use it alongside your existing strategy to refine entries, exits, and overall trend bias.
As always, combine with price action and risk management for best results.
This is an educational idea, and past performance may not replicate itself.
Happy trading! 🚀
GGG - Market Breadth UST vs GoldThis indicator provides a dynamic macro view between the 10YR U.S. Treasury future market and Gold prices. It combines bond market momentum with gold technical trend confirmation to enhance trading decision-making.
Recommended Timeframes: Suitable for intraday to swing trading setups (e.g., 15-minutes, 1-hour, 4-hour).
Notes:
REMARK: This indicator is designed as a macro filter or confirmation tool. It is highly recommended to use in conjunction with your preferred entry/exit techniques for optimal performance.
EMA20/50/100/200 with extended lines and labels by TradeCrafted📈 EMA20/50/100/200 with Extended Lines and Labels by TradeCrafted
Overview
This script plots four key Exponential Moving Averages (EMAs) — 20, 50, 100, and 200 — directly on the chart for enhanced trend visualization.
In addition to the standard plots, it extends each EMA forward with a projected line, helping traders anticipate potential future dynamic support and resistance zones.
Clear, color-coded labels are attached to each EMA, updating live to improve chart readability without clutter.
This tool is designed for educational and informational purposes only and does not provide financial advice or guaranteed trading results.
✨ Features
Plots EMA 20, EMA 50, EMA 100, and EMA 200 in distinct colors.
Extends each EMA line forward by a user-defined number of bars.
Dynamic floating labels show the EMA name and live value.
Minimalistic and clean design, ideal for all trading styles.
Open-source and customizable for user transparency.
📚 Usage
Use this indicator to:
Identify overall market trends across different timeframes.
Spot potential areas of dynamic support and resistance.
Observe EMA crossovers for possible trend shifts.
⚠️ Disclaimer
This script is intended for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any asset.
Always perform your own analysis before making trading decisions.
Dskyz Options Flow Flux (OFF) - FuturesDskyz Options Flow Flux (OFF) - Futures
*This is a repost due to moderator intervention on use of ™ in my scripts. I'm in the process of getting this rectified. This was originally posted around mid-night CDT.
🧠 The Dskyz Options Flow Flux (OFF) - Futures indicator is a game changer for futures traders looking to tap into institutional activity with limited resources. Designed for TradingView this tool simulates options flow data (call/put volume and open interest) for futures contracts like MNQ MES NQ and ES giving u actionable insights through volume spike detection volatility adjustments and stunning visuals like aurora flux bands and round number levels. Whether u’re a beginner learning the ropes or a pro hunting for an edge this indicator delivers real time market sentiment and key price levels to boost ur trading game
Key Features
⚡ Simulated Options Flow: Breaks down call/put volume and open interest using market momentum and volatility
📈 Spike Detection: Spots big moves in volume and open interest with customizable thresholds
🧠 Volatility Filter: Adapts to market conditions using ATR for smarter spike detection
✨ Aurora Flux Bands: Glows with market sentiment showing u bullish or bearish vibes at a glance
🎯 Round Number Levels: Marks key psychological levels where big players might step in
📊 Interactive Dashboard: Real time metrics like sentiment score and volatility factor right on ur chart
🚨 Alerts: Get notified of bullish or bearish spikes so u never miss a move
How It Works
🧠 This indicator is built to make complex options flow analysis simple even with the constraints of Pine Script. Here’s the step by step:
Simulated Volume Data (Dynamic Split):
Pulls daily volume for ur chosen futures contract (MNQ1! MES1! NQ1! ES1!)
Splits it into call and put volume based on momentum (ta.mom) and volatility (ATR vs its 20 period average)
Estimates open interest (OI) for calls and puts (1.15x for calls 1.1x for puts)
Formula: callRatio = 0.5 + (momentum / close) * 10 + (volatility - 1) * 0.1 capped between 0.3 and 0.7
Why It Matters: Mimics how big players might split their trades giving u a peek into institutional sentiment
Spike Detection:
Compares current volume/OI to short term (lookbackShort) and long term (lookbackLong) averages
Flags spikes when volume/OI exceeds the average by ur set threshold (spikeThreshold for regular highConfidenceThreshold for strong)
Adjusts for volatility so u’re not fooled by choppy markets
Output: optionsSignal (2 for strong bullish -2 for strong bearish 1 for bullish -1 for bearish 0 for neutral)
Why It Matters: Pinpoints where big money might be stepping in
Volatility Filter:
Uses ATR (10 periods) and its 20 period average to calculate a volatility factor (volFactor = ATR / avgAtr)
Scales spike thresholds based on market conditions (volAdjustedThreshold = spikeThreshold * max(1 volFactor * volFilter))
Why It Matters: Keeps ur signals reliable whether the market is calm or wild
Sentiment Score:
Calculates a call/put ratio (callVolume / putVolume) and adjusts for volatility
Converts it to a 0 to 100 score (higher = bullish lower = bearish)
Formula: sentimentScore = min(max((volAdjustedSentiment - 1) * 50 0) 100)
Why It Matters: Gives u a quick read on market bias
Round Number Detection:
Finds the nearest round number (e.g. 100 for MNQ1! 50 for MES1!)
Checks for volume spikes (volume > 3 period SMA * spikeThreshold) and if price is close (within ATR * atrMultiplier)
Updates the top activity level every 15 minutes when significant activity is detected
Why It Matters: Highlights psychological levels where price often reacts
Visuals and Dashboard:
Combines aurora flux bands glow effects round number lines and a dashboard to make insights pop (see Visual Elements below)
Plots triangles for call/put spikes (green/red for strong lime/orange for regular)
Sets up alerts for key market moves
Why It Matters: Makes complex data easy to read at a glance
Inputs and Customization
⚙️ Beginners can tweak these settings to match their trading style while pros can dig deeper for precision:
Futures Symbol (symbol): Pick ur contract (MNQ1! MES1! NQ1! ES1!). Default: MNQ1!
Short Lookback (lookbackShort): Days for short term averages. Smaller = more sensitive. Range: 1+. Default: 5
Long Lookback (lookbackLong): Days for long term averages. Range: 5+. Default: 10
Spike Threshold (spikeThreshold): How big a spike needs to be (e.g. 1.1 = 10% above average). Range: 1.0+. Default: 1.1
High Confidence Threshold (highConfidenceThreshold): For strong spikes (e.g. 3.0 = 3x average). Range: 2.0+. Default: 3.0
Volatility Filter (volFilter): Adjusts for market volatility (e.g. 1.2 = 20% stricter in volatile markets). Range: 1.0+. Default: 1.2
Aurora Flux Transparency (glowOpacity): Controls band transparency (0 = solid 100 = invisible). Range: 0 to 100. Default: 65
Show Show OFF Dashboard (showDashboard): Toggles the dashboard with key metrics. Default: true
Show Nearest Round Number (showRoundNumbers): Displays round number levels. Default: true
ATR Multiplier for Proximity (atrMultiplier): How close price needs to be to a round number (e.g. 1.5 = within 1.5x ATR). Range: 0.5+. Default: 1.5
Functions and Logic
🧠 Here’s the techy stuff pros will love:
Simulated Volume Data : Splits daily volume into call/put volume and OI using momentum and volatility
Volatility Filter: Scales thresholds with volFactor = atr / avgAtr for adaptive detection
Spike Detection: Flags spikes and assigns optionsSignal (2, -2, 1, -1, 0) for sentiment
Sentiment Score: Converts call/put ratio into a 0-100 score for quick bias reads
Round Number Detection: Identifies key levels and significant activity for trading zones
Dashboard Display: Updates real time metrics like sentiment score and volatility factor
Visual Elements
✨ These visuals make data come alive:
Gradient Background: Green (bullish) red (bearish) or yellow (neutral/choppy) at 95% transparency to show trend
Aurora Flux Bands: Stepped bands (linewidth 3) around a 14 period EMA ± ATR * 1.8. Colors shift with sentiment (green red lime orange gray) with glow effects at 85% transparency
Round Number Visualization: Stepped lines (linewidth 2) at key levels (solid if active dashed if not) with labels (black background white text size.normal)
Visual Signals: Triangles above/below bars for spikes (size.small for strong size.tiny for regular)
Dashboard: Bottom left table (2 columns 10 rows) with a black background (29% transparency) gray border and metrics:
⚡ Round Number Activity: “Detected” or “None”
📈 Trend: “Bullish” “Bearish” or “Neutral” (colored green/red/gray)
🧠 ATR: Current 10 period ATR
📊 ATR Avg: 20 period SMA of ATR
📉 Volume Spike: “YES” (green) or “NO” (red)
📋 Call/Put Ratio: Current ratio
✨ Flux Signal: “Strong Bullish” “Strong Bearish” “Bullish” “Bearish” or “Neutral” (colored green/red/gray)
⚙️ Volatility Factor: Current volFactor
📈 Sentiment Score: 0-100 score
Usage and Strategy Recommendations
🎯 For Beginners: Use high confidence spikes (green/red triangles) for easy entries. Check the dashboard for a quick market read (sentiment score above 60 = bullish below 40 = bearish). Watch round number levels for support/resistance
💡 For Pros: Combine flux signals with round number activity for high probability setups. Adjust lookbackShort/lookbackLong for trending vs choppy markets. Use volFactor for position sizing (higher = smaller positions)
Custom Performance TableThis script generates a table designed to provide a concise yet highly customizable overview of the performance of multiple financial instruments, displayed directly on the chart. The table can include up to 40 tickers, each individually configurable, with values updated in real time based on either the current chart timeframe or a specific user-selected timeframe.
NOTE : The update frequency of the table values depends on the refresh rate of the chart's main ticker to which the indicator is applied. To ensure a consistent and reliable data feed, especially when monitoring heterogeneous instruments, it is recommended to apply the indicator to a highly liquid and continuously traded asset, such as BTCUSD.
PERFORMANCE CALCULATION MODES
You can choose from three different performance calculation modes:
1) Change % (Percentage Change)
Displays the percentage change of the current price compared to the previous candle within the selected timeframe.
(Current Price - Previous Price) / Previous Price * 100
This mode provides an immediate and straightforward measure of each instrument's percentage movement, useful for quick visual comparisons of relative strength among assets.
2) Z-Score
The Z-Score measures how much the current price variation deviates from the historical average variation, relative to the standard deviation of those variations.
(Current Variation - Average Variation) / Standard Deviation of Variations
The result indicates how statistically unusual a movement is:
- Values near 0 suggest normal variations.
- Values above ±2 indicate statistically significant deviations.
This is a valuable tool for identifying overbought/oversold conditions or market stress events and is often used in mean reversion strategies.
NOTE : Due to technical constraints, Z-Score can only be calculated when the selected timeframe matches the chart's timeframe exactly.
3) RAROC (Risk-Adjusted Return on Capital)
RAROC expresses an asset's performance in relation to the risk taken, measured through its volatility (standard deviation of price).
Percentage Change / Standard Deviation of Price
It allows for an assessment of return efficiency in relation to volatility.
A high RAROC value indicates a high return relative to the risk, making it a useful tool for comparing assets with different risk profiles. It is especially suitable for portfolio selection and allocation purposes.
TABLE CONFIGURATION
Each ticker can be customized with its own label, colors, and position in the table.
Each row can display the ticker name or a custom label, which, at the user's discretion, can either replace the name or be shown as an informational tooltip.
The table can be placed anywhere on the chart using horizontal and vertical offset parameters. Thanks to offset support, you can, for example, create financial market overview layouts. This can be done by completely “cleaning” the chart from price and indicators using TradingView settings, and then displaying multiple tables simultaneously (see the example chart published here).
Advanced customization options are also available for the table's appearance, including font settings, colors, borders, and more.
CALCULATION TIMEFRAME
The indicator allows the user to force a specific timeframe (Daily, Weekly, Monthly, Yearly) when applied to intraday charts.
However, for Z-Score mode, the selected timeframe must match the chart's timeframe exactly to ensure correct computation. Otherwise, the script will halt until settings are properly adjusted.
USAGE NOTES
Custom Performance Table is a flexible and adaptable tool, suitable for both intraday operations and medium- to long-term analysis. It is designed for traders and analysts who need to compare assets based on quantitative metrics, whether simple (like percentage change) or more advanced and risk-adjusted (such as Z-Score and RAROC).
Scalping Indicator - SK CapitalThe Scalping Indicator - SK Capital is a professional-grade tool designed to empower intraday traders with real-time volume sentiment analysis and trend confirmation. Built on Pine Script v6, this indicator combines essential elements of technical trading—such as VWAP/EMA crossovers and volume decomposition—into one streamlined visualization.
Key Features:
Buyers vs. Sellers Visualization: Accurately estimates and displays the percentage of buying and selling volume within each candle. These are plotted with color-coded lines (green for buyers, red for sellers) and highlighted with a fixed summary label at the top for instant comparison.
Dynamic Sentiment Label: A prominent label at the top of the chart dynamically updates with the percentage of buyers and sellers per bar. The label’s background color shifts to green or red based on volume dominance and stays neutral when balanced, providing instant visual feedback.
Volume Histogram with Average Overlay: The total volume is represented by blue histogram bars, while a gray SMA line tracks the 50-period average volume to contextualize current activity.
Customizable Settings: Input fields allow traders to adjust the smoothing period for volume analysis, the EMA crossover length, and label font size for visual clarity.
This indicator is ideal for scalpers and short-term traders who rely on swift, data-driven decisions based on volume dynamics and trend signals. Whether you're analyzing one-minute candles or broader intraday timeframes, this script provides critical context in a compact, intuitive layout.
TradeSmart Morning GloryThe Morning Glory Indicator by TradeSmart University is a pre-market volume visualization tool designed to help traders quickly assess the quality of a morning gap. By highlighting volume levels before the market opens, this indicator helps distinguish between a professional gap (likely to continue running) and a retail/news-driven gap (likely to fade or reverse).
💡 What It Does:
This indicator plots color-coded volume bars in the pre-market session and highlights when volume crosses two key thresholds:
Teal Bars – Low institutional interest
Yellow Bars – Medium institutional interest (100K+ volume)
Red Bars – High institutional interest (400K+ volume)
These thresholds are most effective on AMEX:SPY and other high-volume ETFs or stocks, but may be customized to fit your trading style. Consider using a 15-minute chart for the above settings.
🧠 How to Use It:
This indicator works best in conjunction with the Morning Glory Strategy and Qualified Trade Setup . On its own, the indicator gives a real-time read on pre-market strength , helping you:
Confirm gap-and-go setups (gap + high volume = likely continuation)
Fade the gap (gap + low volume = higher likelihood of reversal)
While the indicator focuses exclusively on volume, the full Morning Glory strategy adds an important price gap size filter to create powerful trade signals.
📊 Probabilities of Success (Based on Full Strategy):
When used as part of the Morning Glory Qualified Trade Setup, here are the historical win rates by day of the week:
Monday: 65%
Tuesday: 77%
Wednesday: 79%
Thursday: 82%
Friday: 78%
If used in conjunction with an artificial intelligence like the Deep Sky Trading Assistant™, win-loss ratios improve to 89% or better across all days of the week.
🔔 Note: For best results, activate premium ARCA data on your TradingView account. This ensures the most accurate and complete pre-market volume data.
[Tradevietstock] Market Cycle Detector_Quantum Flux Best technical indicator to detect market cycles - Quantum Flux
Hello folks, it's Tradevietstock again! Today, I will introduce you to Quantum Flux Indicator, which can help you identify market cycle and find your best entry/exit effectively.
i. Overview
1. What is Market Cycle Detector_Quantum Flux?
The Quantum Flux Indicator is developed specifically to analyze and detect market cycles across a variety of asset classes. Whether you trade stocks, crypto, forex, or commodities, this indicator provides a consistent framework to track trends and time your positions.
2. Supported Markets:
Stock Market
Crypto Market
Commodities
Forex
You can apply the same cycle-based strategy across all these markets using QFI.
Depending on the platform you're using, here’s how you can start using Quantum Flux:
TradingView Users:
Once your invite is approved, the indicator will be added to your TradingView account. You can access it directly through the Indicators tab.
MT5 / Amibroker Users:
After your payment is completed, we will send you the QFI script. You can then import it manually into your MT5 or Amibroker trading platform.
ii. Setting Up the Indicator
1. Choose Your Setup
There are two ways to configure the Quantum Flux - The best indicator to detect market cycles
Default Setup (Recommended)
This includes both the Quantum Aroon and some of the Premium MACD signals. This full setup is ideal for traders who want a complete view of the market cycle with detailed signals. You just need to turn off the Premium MACD_Components as the image below
MACD-Only Setup
In this mode, the Quantum Aroon module is disabled. The indicator will rely solely on the Premium MACD Setting to generate signals. While this option is available, we recommend using the full setup for the most accurate performance.
2. Recognize the Market Cycle Phases
According to Tradevietstock’s theory , every trading asset typically moves through four distinct phases in a complete cycle:
Bearish Phase - Bear Market
First Bullish Wave - The Recovery
Strong Correction Phase
Final Bullish Wave
Quantum Flux generates visual and data-driven signals to help you time your trades accurately.
Green Dots: MACD crossover → Potential buy signal
Red Dots: MACD crossunder → Potential sell signal
Quantum Aroon Crossover: Confirms bullish trend or Buy Signals
Quantum Aroon Crossunder: Confirms bearish trend or Exit Signals
Green background: Extreme Bullish Phase
Red background: Extreme Bearish Phase
The Extreme Bullish/Bearish Phase is a unique feature of our system that enhances trading signals by capturing moments when the market moves aggressively—either in a strong uptrend or downtrend. This phase often represents the peak of Greed in bullish markets and Fear in bearish ones, offering a way to gauge market sentiment visually. The intensity of the background color helps interpret this: a bolder green indicates a more extreme bull market, while a deeper red signals an extreme bear market.
It's important to note that the Extreme Bullish/Bearish Phases are not direct entry or exit signals. Instead, they serve as enhancement signals that help traders make more informed decisions. These phases provide insight into whether it's wise to wait for additional confirmation before entering a trade, or to hold existing positions longer until clearer exit signals—like red dots or crosses—appear. By identifying the market's most intense emotional points, these signals help traders better align with momentum rather than react prematurely.
=> In summary, the Extreme Bullish/Bearish Phase provides valuable insight into market sentiment by highlighting emotional extremes, helping traders navigate aggressive trends with greater confidence. However, like all features in the indicator, its purpose is to complement, not replace, the core entry and exit signals—which are still based on crosses and dots. As always, green indicates bullish conditions, and red indicates bearish, but sentiment alone doesn't drive the trades—signals do.
3. The logic of the indicator and its trading strategy
Many traders are familiar with Wyckoff's theory, which, while foundational, can feel outdated and inefficient for real-life trading in today's fast-paced markets. It takes time to apply and may not be the most practical approach. That’s why many turn to day trading, but without the right tools and strategy, it can lead to account blow-ups.
The traditional market cycle consists of four stages: accumulation, markup, distribution, and markdown. While this is accurate, it's not always sufficient for modern trading. We need something more practical.
According to Tradevietstock's theory, the market cycle can be broken into four stages: a bear market, recovery, correction wave, and a bull market (the strongest uptrend). This new approach offers a shorter and more efficient timeline compared to Wyckoff's or other older cycle theories, making it a safer and more practical alternative to intraday trading.
To trade with market cycles, you need to remember these four stages:
Bearish Phase - Bear Market
First Bullish Wave - The Recovery
Strong Correction Phase
Final Bullish Wave
The logic for BUY/SELL (Entry/Exit) signals is built on a combination of crossover and crossunder events from the Quantum Aroon and Premium MACD indicators. Our Quantum Aroon is an enhanced version that applies a custom zero-lag smoothing function, making its trend signals more responsive and accurate than the traditional Aroon. It also includes a signal line for crossover alerts, along with visual enhancements like color-coded backgrounds, arrows, and gradient fills to highlight different market phases. Integrated with normalized MACD and RSI, it helps confirm signals and identify overbought or oversold conditions. Most importantly, it's aligned with Tradevietstock’s 4-phase market cycle—Bear Market, Recovery, Correction, and Bull Market—making it especially practical for real-world trading.
The Premium MACD differs from the standard version by introducing several key improvements. It normalizes the MACD line, signal line, and histogram for consistent interpretation across assets and timeframes, improving visual clarity. It also supports multi-timeframe analysis, allowing users to choose between the current chart resolution or a custom timeframe. The indicator includes color-coded histogram bars to show momentum changes and uses large dynamic circles to highlight crossover points.
=> These enhancements improve signal accuracy and make trend reversals easier to spot. Paired with the Quantum Aroon, it serves as a powerful confirmation tool within the Tradevietstock cycle framework.
4. Get to practice
In the example of NVDA, you can observe all four phases in action. For medium- to long-term traders, Phase 2 and Phase 4 usually present the strongest buying opportunities. Phase 1 and Phase 3 are accumulation phases — where prices are lower and preparations are made for the next bullish leg.
We can examine the following example to better understand Phase 1: The Bear Market . This phase only begins after a prior uptrend in the stock price . It’s crucial to remember that Phase 1 is not the start of the overall trend—it marks the reversal following a bullish run.
For instance, take the LMT stock: after a 50% rise, Quantum Flux displays a green background, indicating an 'Extreme Bullish Phase.' Once this bullish phase concludes, it sets the stage for a valid Phase 1—the beginning of the Bear Market.
The stock price declines sharply, triggering Quantum Flux to display a red background as the Aroon line crosses below the signal line.
Phase 1 concludes when we observe multiple crossover signals—most notably when the Aroon line crosses above the Signal line—and the red background, which signifies the Extreme Bearish Phase, disappears. Let's take a look at the image below:
Let’s move on to Phase 2: The Recovery. This phase follows the Bear Market—Phase 1. After a significant decline in the stock price, a recovery or pullback is expected.
Our signals for this phase include green dots and crosses, along with the confirmation signals that mark the end of Phase 1. This combination provides valid Buy signals and presents opportunities for mid-term investment strategies.
Phase 3 is a correction wave after the recovery . We also incorporate the cross and dot signals during this phase. In Phase 2, the strategy involves preparing to sell or take profits once the recovery phase matures. Whenever red dots or red crosses appear, they serve as indicators to consider taking profits, signaling the potential end of the upward move.
In Phase 3, known as the correction wave, the key objective is to take profits before the price begins to decline. This phase represents a temporary pullback following the recovery. Importantly, the end of Phase 3 often presents a strong buying opportunity—just before the onset of Phase 4, which is the strongest bullish wave. Whenever green dots and crosses appear at this stage, they serve as clear Buy signals, allowing us to position early for the upcoming bullish momentum.
Phase 4 is the strongest bullish wave—one that investors definitely don’t want to miss. Having entered at the end of Phase 3, the goal in Phase 4 is to maximize gains by targeting the highest highs.
During this phase, we closely monitor our exit signals, which include the appearance of red dots and red crosses, as well as the disappearance of the Extreme Bullish Phase indicator (green background). These signals help us lock in profits at the peak of the bullish momentum.
iii. Brief Conclusion on the Signals
End of Phase 1:
As Phase 1 nears completion, green dots start to appear. These serve as early entry signals, offering an opportunity to buy at lower prices before the trend reversal begins.
Phase 2 – Recovery:
Momentum begins to build during this phase. As it approaches its peak, red dots and Aroon line crossunders emerge—signaling that it's time to exit or reduce exposure in anticipation of a correction.
Phase 3 – Correction:
The indicator typically shows a red background, reflecting a bearish environment. This is a waiting phase—traders should remain cautious and avoid entering until green signals reappear.
Phase 4 – Strong Bullish Wave:
With the return of bullish signals (green dots, crosses, and green background), Phase 4 begins. After entering, the position is held to ride the strong momentum. Profit-taking signals include the appearance of red dots, red crosses, and the disappearance of the green background.
iv. Optimal Use by Market Type
Here’s how we suggest using QFI depending on what you trade:
Stocks: Best used on the Daily or Weekly chart for swing trades.
Cryptocurrency: Works well on BTC, ETH, or major altcoins using Daily and Weekly charts. Great for catching larger trend reversals.
CFDs and Forex: QFI is built for higher timeframes (H4, D1, W1), where it produces cleaner and more reliable signals.
Best Ways to Use It
🟢 Stocks
Works well on Weekly and Daily charts for swing entries
🟡 Crypto
Works best on Weekly and Daily charts
Good for trend-catching on BTC, ETH, or altcoins
🔴 CFDs
Designed with precision in mind — works on bigger timeframes, like H4, D1, and W1
The Quantum Flux Indicator is a flexible and powerful tool for anyone looking to navigate the full market cycle — from bottom to top and back again. With its ability to highlight key phases and generate timely signals, it becomes easier to plan your entries, hold through trends, and exit with confidence.
If you're serious about understanding market structure and improving your timing, Quantum Flux, the best Indicator to detect market cycles, can become a central part of your strategy — no matter what market you're in.
30-Day Rolling VWAP30-Day Rolling VWAP (30-RVWAP)
Overview:
The 30-Day Rolling VWAP is an advanced technical analysis tool designed for crypto traders that combines Volume Weighted Average Price over a 30-day rolling window with sophisticated volume analysis to generate high-probability trading signals.
Key Features:
1. Dynamic Color-Coded VWAP Line
Green glow = Strong bullish pressure
Red glow = Strong bearish pressure
Gray = Neutral/balanced market
The line changes color based on volume-weighted directional pressure
2. Volume Pressure Zones
Multi-layered glowing fill effect around VWAP
Expands/contracts based on volatility and volume
Shows potential support/resistance zones
3. Smart Alert System
Buy/Sell alerts based on VWAP color change
Cross above/below VWAP alerts
Confidence levels based on pressure strength
How to Use:
1. Color Signals
When VWAP turns green: Consider buying (bullish pressure)
When VWAP turns red: Consider selling (bearish pressure)
Gray color indicates consolidation/neutral market
2. Alert Structure
Buy/Sell alerts include confidence percentage (0-100%)
Higher confidence = stronger directional pressure
Cross alerts notify when price crosses VWAP with distance
3. Volume Pressure Zones
Wider zones = higher volatility/volume
Use zones as dynamic support/resistance levels
Watch for price reactions at zone boundaries
4. Trading Strategy
Enter long when VWAP turns green with high confidence (60%+)
Enter short when VWAP turns red with high confidence
Use VWAP as trailing stop (exit when cross alerts trigger)
Use pressure zones for profit targets
5. Alert Messages
Buy Signal: "BTCUSDT | 15m | BUY Signal | Price: 42380.00 | VWAP: 42350.00 | Distance: 0.07% | Confidence: 78% due to strong bullish pressure"
Cross Alert: "BTCUSDT | 15m | CROSS ABOVE VWAP | Price: 42360.00 | VWAP: 42350.00 | Distance: 0.02%"
Best Practices:
Use higher timeframes (4H+) for trend direction; preferably **daily timeframe**
Combine with other indicators for confirmation
Monitor volume for signal validation
Consider market context when entering trades
The indicator combines multiple volume metrics to filter out false signals and provides clear visual and alert-based trading signals.
Trend vs Range DetectorMarkets often oscillate between trend phases and range-bound consolidations. Accurately identifying which environment you're in can dramatically improve your strategy's performance — whether you're a breakout trader, trend follower, or mean reversion specialist.
This Pine Script helps do exactly that — with zero clutter, no chart overlays, and a simple, clean table at the top-right corner telling you one thing:
👉 Is the market trending or range-bound?
⚙️ How It Works
The script uses two core metrics to classify the market environment:
1. Slope Sensitivity of Moving Average
A simple moving average (default: 50-period) is used.
The absolute slope of the moving average is calculated.
If the slope exceeds a user-defined sensitivity value, it indicates directional momentum.
2. ATR-to-Price Range Ratio
Measures volatility by comparing Average True Range (ATR) to the total high-low price range over the same period.
A higher ATR relative to the range indicates directional volatility — a trending behavior.
A low ratio signals a choppy or sideways market.
If both conditions are met, the table displays "Trending." If either condition fails, it shows "Range-Bound."
🧠 Why This Matters
Trend Traders: Know when to lean into momentum plays.
Mean Reversion Traders: Avoid whipsaw conditions or capitalize on sideways action.
Volatility Filters: Use this signal to apply different strategies to different market types.
🛠️ User Controls
Moving Average Length: Adjust trend sensitivity by length (default: 50)
Slope Sensitivity: Tune how steep a trend needs to be to qualify
ATR/Range Threshold: Calibrate what defines a volatile enough trend move
Toggle Table On/Off: Keep the chart clean if needed
🧼 Clean Visuals
No lines, no bands, no background colors.
Just a concise table in the top-right corner.
Perfect for scalpers, swing traders, or overlaying on busy strategies.
🔄 Real-Time + Historical
The script dynamically updates with every bar, so it works in real time and shows accurate historical context across any symbol or timeframe.
If you’re someone who wants a minimalist yet powerful insight into market context, this tool can be a game-changer.
Sentiment Bias Gauge📌 Overview
The Sentiment Bias Gauge (SBG) is a unique overlay-style indicator that visually maps a sentiment value—such as market bullishness or bearishness—onto your price chart. It converts sentiment data (in this case, RSI-based) into a floating line that moves between defined price zones, allowing users to quickly understand the current market mood in the context of price.
⚙️ How It Works
• The indicator uses RSI (Relative Strength Index) as a proxy for market sentiment (0 to 100 scale).
• This sentiment value is then mapped to a vertical price range on your chart using a configurable zone (via top and bottom percent of chart range).
• The line floats up or down within the price chart, reflecting how bullish or bearish the sentiment is.
• It includes background shading to represent the sentiment level:
• 🔴 Red (Bearish): sentiment < 30
• 🟡 Yellow (Neutral): 30 ≤ sentiment ≤ 70
• 🟢 Green (Bullish): sentiment > 70
• A floating label shows the current sentiment score.
🌟 Key Features
• 📈 Overlay-Based Sentiment Line: Plots sentiment as a price-level line, giving intuitive spatial reference.
• 🔧 Configurable Range Placement: Adjust where the sentiment line appears within the chart’s high-low range.
• 🖌️ Color-Coded Background: Visually distinguish bullish, bearish, and neutral conditions.
• 🏷️ Real-Time Sentiment Label: Displays updated sentiment score on the most recent bar.
🧠 How to Use
• Use this indicator alongside your price action or technical strategy to gauge market mood.
• Combine with other sentiment indicators (e.g., fear/greed, delta volume, news sentiment).
• Especially helpful in sideways markets to identify potential shifts in bias before price reacts.
Why This Combination?
• RSI offers a reliable and intuitive proxy for market sentiment.
• Mapping the value directly onto the chart helps avoid constantly looking at a separate panel.
• The customizable chart range lets traders fit sentiment visuals within any market structure.
🎯 Why It’s Worth Using
• Makes sentiment visually accessible directly on the chart.
• Helps detect bullish/bearish bias shifts earlier than traditional indicators.
• A great tool for sentiment-aware discretionary trading or contextual overlays in algo strategies.
Gabriel's Asset Rotation System📈 Gabriel's Asset Rotation System
Overview
Gabriel’s Asset Rotation System is an advanced multi-asset trend-following tool that dynamically ranks and rotates up to 6 assets (plus USD) based on a customizable trend scoring matrix. Using enhanced signal detection techniques like Cauchy-weighted Supertrend, Jurík RSX, Fisherized CCI, Kalman-filtered PSAR, and Dynamic DMI Smoothing, the system identifies the most dominant asset and simulates strategy equity performance compared to buy-and-hold benchmarks.
🔍 Key Features
✅ Multi-Asset Rotation: Analyze up to 6 symbols and USD simultaneously.
✅ Relative Strength Matrix: Compares every asset against each other to find outperformers.
✅ Custom Trend Engine:
Jurik RSX with advanced RSX logic
Fisherized CCI for momentum confirmation
Kalman-smoothed PSAR for trend bias
SuperTrend using a Cauchy Moving Average
Smoothed DMI signal across looped periods (10–17)
✅ Dynamic Best Asset Detection: Identifies and tracks the asset with the highest trend score over time.
✅ Performance Table: Displays Sharpe, Sortino, and Omega Ratios along with drawdowns and means for both strategy and each asset.
✅ Visual Trend Matrix: Tabular view of asset strength comparisons against each other + final scoring.
✅ Realistic Strategy Equity Curve: Tracks performance assuming full capital rotation into the best asset.
✅ Alerts: Get notified when the top-performing asset changes.
⚙️ Inputs
🔹 Assets: Customize 6 tickers (crypto, stocks, ETFs, etc.)
🔹 Trend Classification Method:
RSI
CCI
SuperTrend
DMI
PSAR
or use all together
🔹 Jurik RSX Length
🔹 Fisherized CCI Length
🔹 Cauchy MA Gamma and ATR Settings
🔹 DMI Range and MA Type (SMA, EMA, HMA, etc.)
🔹 PSAR Parameters with Kalman smoothing
🔹 Custom Backtest Start Date
📊 Outputs
Plot 1: Best Asset Equity (colored dynamically)
Plot 2–7: Buy & Hold Curves for each asset (with labels)
Tables:
Rotation Matrix (bottom-right)
Best Performing Asset (bottom-center)
Performance Metrics Table (optional toggle)
🧠 Use Case Ideas
🔁 Dynamic Portfolio Rebalancing
⚖️ Compare Risk-Adjusted Returns Across Crypto or Stocks
🧪 Backtest Rotation Hypotheses
🚀 Identify Strongest Breakout Assets in Trend Environments
📉 Avoid Weakening Assets with Rising Drawdowns
🚨 Alerts
🔔 "New Optimal Asset": Triggers when a new top-ranking asset replaces the current one.
Nasan Market Phase ClassifierThe Nasan Market Phase Classifier indicator designed to classify market phases using volume, volatility (or momentum), and statistical analysis. Here's a summary of how it works and what it does:
🔍 Core Concept
This indicator classifies the market into four phases based on volume and ATR (or optionally momentum):
High Volume / High ATR or Momentum (HV/HATR): Strong Trend
Low Volume / High ATR or Momentum (LV/HATR): False Breakout / Exhaustion
High Volume / Low ATR or Momentum (HV/LATR): Consolidation
Low Volume / Low ATR or Momentum (LV/LATR): Stagnation
⚙️ Key Settings
Short-Term Length: Used for the active market phase.
Long-Term Length: Used as the expected/benchmark distribution.
Use Momentum: Replaces volatility (ATR) with momentum (custom ROC-based formula).
Use Fixed Alpha: Toggles adaptive vs. fixed weighting in scoring (this is based on variation of the volatility - standard deviation of true range).
📊 How It Works
Volatility or Momentum Scoring:
Uses ATR-based or Momentum-based score depending on the setting.
Applies weighing (alpha) which is based on variability of the volatility itself.
Market Phase Count:
Measures how often each of the 4 volume/volatility combinations occur in:
Short-term window (observed phase)
Long-term window (expected distribution)
Category Proportions:
Calculates percentage share of each category (e.g., % time in HV/HATR).
Plots these on chart to visually see market phase dominance (can be used for screening of pine screener).
Statistical Testing:
IQV (Index of Qualitative Variation): Measures phase diversity (0 = focused, 1 = mixed).
Chi-Squared Test: Compares current vs. historical phase distribution.
Z-Test: Tests if current phase dominance is statistically significant.
📋 Outputs
On-Chart Plots and Tabels:
Strong Trend, False Breakout/Exhaustion, Consolidation, Stagnation
Strength Quality Plot: Trend strength normalized by IQV.
Dynamic Table (Top Right):
Shows each phase’s proportion (the current phase cell is highlighted in yellow), IQV, Chi² value, and current dominant phase. The current candle classification (text) is in purple.
Highlights the dominant phase classification and color-codes significance (the cell highlighted in green highly confident about the classification, orange intermediate confidence and red low confidence). This color coding is not just based on statistical significance it is based on IQV which takes into account how spread the proportions are.
🧠 Interpretation
A dominant HV/HATR phase with low IQV and high Z-Score indicates a strong and statistically significant trend.
High IQV suggests uncertainty or mixed market behavior.
Chi² spike indicates a shift from historical behavior can be used to see is the market behavior changing by changing the long term length say to 252 and short term length to 21 this will tell if the short term behavior is different from the past 252 day behavior.
First FVG Custom Time RangeFirst FVG — Opening Range Fair Value Gap Detector
Smart Money Opening Imbalance Strategy Tool
This script automatically detects and highlights the first Fair Value Gap (FVG) that forms between 9:30 and 10:00 AM Eastern Time (New York session open) — a critical period often referred to as the Opening Range. It’s designed for Smart Money traders looking to isolate early-morning inefficiencies that may influence market behavior throughout the trading day.
🔍 What This Script Does:
Automatically Detects the First FVG in the Opening Range
Scans price action between 9:30 and 10:00 AM ET and identifies the first valid bullish or bearish FVG that forms.
Only one FVG is shown per day — ensuring a clean, focused view.
Draws a Visual Zone
Once detected, the FVG zone is extended forward on the chart (customizable duration).
A labeled zone helps users track how price reacts to it throughout the session.
Optional Retest Alerts
Alerts you when price re-enters the zone — a potential reaction point used by SMC traders.
Customization Options
Set your preferred session time window
Adjust zone duration (in bars)
Customize label font size, colors, and visibility
Enable/disable alert on retest
📈 Why the First FVG Matters:
Time-Sensitive Setup: The first FVG typically forms no earlier than 9:31 AM ET and represents a potential “time distortion” or imbalance zone created by aggressive market participants during the open.
Behavioral Study: Many traders journal how price behaves around this zone each day — whether it acts as support, resistance, or gets traded through later in the session.
Predictive Value: Observing how this zone is respected or broken can provide anticipatory insight into intraday price action, rather than reactive analysis.
Great for New Traders: This opening FVG is often recommended as a starting reference point for building trade models and understanding how institutional imbalances unfold.
🚀 What Makes It Unique:
This tool doesn’t spam your chart with every FVG. It laser-focuses on a single, time-bound zone backed by institutional logic — the first presented imbalance of the day during the opening range.
Use it to:
Monitor price behavior around early inefficiencies
Plan journal entries and pattern recognition
Align intraday setups with a high-probability SMC model
Whether you’re scalping, journaling market structure, or refining entries based on liquidity behavior — this script helps you make the first 30 minutes count.