Bearish RSI + 2 Bullish Candles with Smart Label bearish candle with RSI ≤ 30, followed by two consecutive bullish candles, and prints a green label REV on the chart when the condition is met
Indicators and strategies
Hi/Lo Sess with Midpointdominik bbg ja sigma boy gangster indicator ja strategia ts pmo sybau gang punci punci punci
Hi/Lo SessDominik bbg ja sigmaboy gangster indicator ja very good very nice ts pmo sybau sniper punci
Delta Volume Color CoderDelta Volume Color Coder - Smart Money Footprint Visualizer
OVERVIEW
The Delta Volume Color Coder is a clean, minimalist indicator that highlights candles with exceptional delta volume, helping you instantly identify where smart money is actively trading. Unlike complex volume indicators that clutter your chart, this tool simply colors candles when institutional-level volume appears, leaving your normal price action untouched.
WHAT IS DELTA VOLUME?
Delta volume represents the difference between buying and selling pressure within each candle. Positive delta indicates more aggressive buying, while negative delta shows stronger selling. When delta reaches extreme levels, it often signals institutional activity or significant market events.
KEY FEATURES
- Clean Chart Design - Only colors candles with significant delta volume
- No Chart Compression - Overlay indicator that doesn't distort price scales
- Smart Detection - Automatically calculates dynamic thresholds based on recent activity
- Customizable Thresholds - Adjust sensitivity to match your trading style
- Multiple Calculation Methods - Classic or Range-Based delta calculations
COLOR CODING (Default)
- White Candles - Extreme positive delta (massive institutional buying)
- Green Candles - High positive delta (strong buying pressure)
- Red Candles - High negative delta (strong selling pressure)
- Violet Candles - Extreme negative delta (massive institutional selling)
- Normal Candles - Unchanged (standard TradingView red/green)
HOW TO USE
1. Add to any chart - Works on all timeframes and instruments
2. Look for colored candles - These mark significant volume events
3. White/Violet candles often mark reversals or breakouts
4. Multiple colored candles in sequence indicate strong trends
5. Colored candles at support/resistance levels are especially significant
SETTINGS EXPLAINED
- Lookback Period (20) - Bars used to calculate average delta
- High Delta Threshold (1.5x) - Triggers green/red coloring
- Extreme Delta Threshold (2.5x) - Triggers white/violet coloring
- Delta Calculation - Classic (open/close) or Range Based (close position)
- Color Wicks - Option to color entire candle or just the body
- All colors fully customizable
TRADING APPLICATIONS
- Reversal Detection - White/violet candles often mark exhaustion points
- Breakout Confirmation - Colored candles on breakouts show conviction
- Support/Resistance - High delta at key levels indicates significance
- Trend Strength - Frequency of colored candles shows trend momentum
- Institutional Tracking - Extreme delta reveals where big players are active
BEST PRACTICES
- Lower timeframes (1-15m) - Use for scalping and day trading entries
- Higher timeframes (1H+) - Identify major accumulation/distribution
- Combine with price action - Most effective at key technical levels
- Watch for clusters - Multiple extreme candles = major event
- Volume confirmation - Extreme delta + high volume = highest significance
TIPS FOR SUCCESS
1. White candles after downtrends often mark bottoms
2. Violet candles after uptrends often mark tops
3. Consecutive colored candles confirm trend direction
4. Lack of colored candles = low volatility, potential breakout ahead
5. Extreme delta at round numbers indicates institutional interest
WHY THIS INDICATOR?
- Simple Yet Powerful - No complex analysis needed
- Instant Visual Feedback - See institutional activity at a glance
- Clean Charts - No overlays, lines, or clutter
- Real-Time Detection - Updates with each new candle
- Universal Application - Works on stocks, forex, crypto, futures
UNIQUE ADVANTAGES
Unlike traditional volume indicators that require separate panes or compress your chart, the Delta Volume Color Coder seamlessly integrates with your existing setup. It answers one simple question: "Where is the smart money trading RIGHT NOW?"
Perfect for traders who want institutional-level insights without the complexity. Just add to your chart and let the colors guide you to where the real action is happening.
SRINI MM KILLZONE w/EMAskill zone with emas in indian time frame with ict format only forex pairs not indian indix
CAFX Liquidity Pro V1CAFX Liquidity Pro Indicator
Precision Engineered for Smart Profit-Taking
The CAFX Liquidity Pro Indicator is a powerful trading tool designed to help traders pinpoint high-probability liquidity zones, making it ideal for setting accurate and strategic take profit levels. By identifying where institutional interest is likely to reside, this indicator highlights the areas where price is most likely to react, reverse, or pause—giving you the edge in locking in profits before the market shifts.
Whether you're scalping, day trading, or swing trading, the CAFX Liquidity Pro provides clear visual cues that simplify your decision-making process and enhance your trade management. With a focus on precision and reliability, it helps you avoid emotional exits and instead base your take profits on real market behavior and liquidity dynamics.
Use CAFX Liquidity Pro to stay one step ahead—because knowing where to exit is just as important as knowing when to enter.
TRB Trade Setup ScannerThis is specifically looking for a breakout trade for TRB considering the time frame for end of May 2025. Please test and give a rating;)
Emissão de Dinheiro Global M2🧾 Public Documentation — Global Fiat M2 Indicator (Multinational Aggregate)
Released as a free contribution to the community
License: Mozilla Public License 2.0
💡 Purpose
This indicator visualizes the global money supply (M2) from major countries around the world, converted into USD, creating a proxy for global liquidity conditions directly on TradingView.
⚙️ How It Works
Fetches M2 monetary data from multiple countries using request.security()
Converts each M2 value to USD using the relevant forex rate (FX_IDC:XXXUSD)
Aggregates the adjusted M2 values to form a synthetic metric called Global M2 (GLM2)
Applies a time offset (via input) to align the indicator with asset price reactions (e.g. BTC response to liquidity changes)
🌍 Included Regions and Countries
North America: United States, Canada
Europe: Eurozone, United Kingdom, Switzerland, Finland, Russia
Asia-Pacific: China, India, Japan, Taiwan, Hong Kong, Singapore, New Zealand, Philippines
Latin America: Brazil, Mexico, Colombia
Middle East: United Arab Emirates, Turkey
Africa: South Africa
⏱️ Time Offset Feature
_offset = input.int(0, "Offset")
This allows you to shift the plotted data in time, useful for testing macro correlations (e.g. Bitcoin responding to M2 growth with a 107-day delay).
📈 Chart Output
Displays the Global M2 line (GLM2)
Annotates the chart with a label showing total money supply in trillions of USD
Requires daily or higher timeframe due to limitations in macroeconomic data granularity
📌 Use Cases
Identifying global expansion/contraction of liquidity
Supporting macro trend analysis in crypto and risk assets
Enhancing long-term thesis building (e.g. Bitcoin cycles, inflation hedges)
🙌 Contribution Note
This script is shared openly and freely for the benefit of the community, with no credit required by the original author.
Its goal is to enable more informed macro analysis on TradingView using aggregated global liquidity metrics.
Higher Time Frame Support/ResistanceCustom support and resistance indicator modified with 5 different timeframes
London 23:00 Body‑RangeLondon 23:00 Body-Range bla bla bla bla bla bjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
SMA Strategy with Re-Entry Signal (v6 Style)*SMA Trend Strategy with Re-Entry Signal (v6 Edition)*
This indicator is based on a classic moving average trend-following system, enhanced with re-entry signals designed for medium to short-term traders.
---
### 📈 Key Features:
1. *Trend Detection Logic:*
- The 30-period SMA (SMA30) is used as the trend filter.
- When the closing price is above the SMA30, the market is considered to be in an uptrend.
2. *Re-Entry Signal:*
- While in an uptrend, if the closing price crosses above the SMA20, a re-entry (add position) signal is triggered.
- These signals are shown with green upward arrows below the bars.
3. *Background Highlighting:*
- Green background: indicates an uptrend.
- Red background: indicates a break below SMA30, suggesting weakening momentum.
4. *Multi-SMA Visualization:*
- Five SMAs are displayed: SMA10, SMA20, SMA30, SMA60, and SMA250.
- This helps visualize both short-term and long-term trend structures.
---
### 🔍 Usage Tips:
- Use this script directly on your main chart to monitor trend direction and wait for re-entry signals during pullbacks.
- Combine with other tools like volume, price action, or candlestick patterns to confirm entries.
---
### ⚠️ Disclaimer:
- This indicator is for educational and informational purposes only. It does not constitute financial advice or a buy/sell signal.
- Avoid relying solely on this script for trading decisions. Always manage your own risk.
---
👨💻 *Developer’s Note:*
This script is 100% manually developed, not copied or auto-generated. It is an original implementation based on my personal trading logic. Suggestions and feedback are welcome!
RSI 29/71 Signals – overlayRSI-based overlay that flashes BUY when the 14-period RSI crosses below 29 and SELL when it crosses above 71. Works on any symbol or timeframe, lets you tweak RSI length/levels, optionally tints bars, and comes with ready-to-use alert conditions.
LTA - Futures Contract Size CalculatorLTA - Futures Contract Size Calculator
This indicator helps futures traders calculate the potential stop-loss (SL) value for their trades with ease. Simply input your entry price, stop-loss price, and number of contracts, and the indicator will compute the ticks moved, price movement, and total SL value in USD.
Key Features:
Supports a wide range of futures contracts, including:
Index Futures: E-mini S&P 500 (ES), Micro E-mini S&P 500 (MES), E-mini Nasdaq-100 (NQ), Micro E-mini Nasdaq-100 (MNQ)
Commodity Futures: Crude Oil (CL), Gold (GC), Micro Gold (MGC), Silver (SI), Micro Silver (SIL), Platinum (PL), Micro Platinum (MPL), Natural Gas (NG), Micro Natural Gas (MNG)
Bond Futures: 30-Year T-Bond (ZB)
Currency Futures: Euro FX (6E), Japanese Yen (6J), Australian Dollar (6A), British Pound (6B), Canadian Dollar (6C), Swiss Franc (6S), New Zealand Dollar (6N)
Displays key metrics in a clean table (bottom-right corner):
Instrument, Entry Price, Stop-Loss Price, Number of Contracts, Tick Size, Ticks Moved, Price Movement, and Total SL Value.
Automatically calculates based on the selected instrument’s tick size and tick value.
User-friendly interface with a dark theme for better visibility.
How to Use:
Add the indicator to your chart.
Select your instrument from the dropdown (ensure it matches your chart’s symbol, e.g., "NG1!" for NATURAL GAS (NG)).
Input your Entry Price, Stop-Loss Price, and Number of Contracts.
View the results in the table, including the Total SL Value in USD.
Ideal For:
Futures traders looking to quickly assess stop-loss risk.
Beginners and pros trading indices, commodities, bonds, or currencies.
Note: Ensure your chart symbol matches the selected instrument for accurate calculations. For best results, test with a few contracts and price levels to confirm the output.
This description is tailored for TradingView’s audience, providing a clear overview of the indicator’s functionality, supported instruments, and usage instructions. It also includes a note to help users avoid common pitfalls (e.g., mismatched symbols). If you’d like to adjust the tone, add more details, or include specific TradingView tags (e.g., , ), let me know!
Abusuhil Bullish CandlesAbusuhil Bullish Candles is a pattern recognition indicator designed to identify key bullish reversal candlestick formations including Hammer, Bullish Engulfing, Morning Star, Piercing Line, Three White Soldiers, and Three Inside Up.
The script includes optional filters such as Stochastic and Volume Confirmation, providing more precise signal detection.
Each pattern and filter is fully customizable via settings. Alerts are also included to support active trading workflows.
This script was written originally and does not copy open-source indicators. It's ideal for traders seeking visual clarity on bullish opportunities with professional-grade logic.
مؤشر الشموع الصعودية هو مؤشر احترافي يكتشف أبرز نماذج الانعكاس الصعودي في الشموع اليابانية مثل: Hammer، Bullish Engulfing، Morning Star، Piercing Line، Three White Soldiers، و Three Inside Up.
يوفر المؤشر فلاتر إضافية مثل فلتر Stochastic وفلتر الفوليوم لتعزيز دقة الإشارات. جميع الإعدادات قابلة للتعديل بما يتناسب مع احتياج كل متداول.
يحتوي المؤشر أيضًا على تنبيهات تلقائية لدعم استراتيجيات التداول اللحظي. تمت برمجة المؤشر من الصفر ويعتمد على منطق خاص غير منسوخ من سكربتات مفتوحة المصدر.
Fear & Greed OscillatorFear & Greed Oscillator – Technical Sentiment Tool
This synthetic indicator measures emotional extremes in the market — fear and greed — based purely on price action, volume, and volatility.
It does not rely on external Fear & Greed Index data — instead, it delivers a technical interpretation of market sentiment.
📏 Built from 4 key components:
Volatility Score (ATR): Measures price volatility relative to current price. Higher volatility suggests emotional reactions.
Volume Score: Compares current volume to the 20-period average. Elevated volume = stronger market participation.
Momentum Score (RSI): Measures distance of RSI from the neutral 50-level, representing price strength.
Price Position in Range: Compares current price within the last 50-bar high-low range. Indicates possible overbought/oversold extremes.
These components are scaled, averaged, and smoothed using EMA (📐 Smoothing Length), with a neutral SMA-based centerline (📏 Centerline Length).
The final oscillator reflects deviation from the emotional mean.
✅ Signal Highlights:
📈 Buy Zone (Fear Reversal): When the oscillator rises above the Fear Threshold.
📉 Sell Zone (Greed Reversal): When the oscillator falls below the Greed Threshold.
Background color shifts visually highlight these sentiment reversals.
💡 Use Case:
Designed to detect emotional sentiment extremes — not classical buy/sell signals.
Useful in contrarian strategies or as a sentiment filter within trend-based systems.
Can be combined with other confirmation tools for improved signal quality.
🧠 This indicator does not use any external sentiment data. All signals are derived from technical conditions, offering a pure chart-based view of fear and greed in the market.
TrueTrend MaxRThe TrueTrend MaxR indicator is designed to identify the most consistent exponential price trend over extended periods. It uses statistical analysis on log-transformed prices to find the trendline that best fits historical price action, and highlights the most frequently tested or traded level within that trend channel.
For optimal results, especially on high timeframes such as weekly or monthly, it is recommended to use this indicator on charts set to logarithmic scale. This ensures proper visual alignment with the exponential nature of long-term price movements.
How it works
The indicator tests 50 different lookback periods, ranging from 300 to 1280 bars. For each period, it:
- Applies a linear regression on the natural logarithm of the price
- Computes the slope and intercept of the trendline
- Calculates the unbiased standard deviation from the regression line
- Measures the correlation strength using Pearson's R coefficient
The period with the highest Pearson R value is selected, meaning the trendline drawn corresponds to the log-scale trend with the best statistical fit.
Trendline and deviation bands
Once the optimal period is identified, the indicator plots:
- A main log-scale trendline
- Upper and lower bands, based on a user-defined multiple of the standard deviation
These bands help visualize how far price deviates from its core trend, and define the range of typical fluctuations.
Point of Control (POC)
Inside the trend channel, the space between upper and lower bands is divided into 15 logarithmic levels. The script evaluates how often price has interacted with each level, using one of two selectable methods:
- Touches: Counts the number of candles crossing each level
- Volume: Weighs each touch by the traded volume at that candle
The level with the highest cumulative interaction is considered the dynamic Point of Control (POC), and is plotted as a line.
Annualized performance and confidence display
When used on daily or weekly timeframes, the script also calculates the annualized return (CAGR) based on the detected trend, and displays:
- A performance estimate in percentage terms
- A textual label describing the confidence level based on the Pearson R value
Why this indicator is useful
- Automatically detects the most statistically consistent exponential trendline
- Designed for log-scale analysis, suited to long-term investment charts
- Highlights key price levels frequently visited or traded within the trend
- Provides objective, data-based trend and volatility insights
- Displays annualized growth rate and correlation strength for quick evaluation
Notes
- All calculations are performed only on the last bar
- No future data is used, and the script does not repaint
- Works on any instrument or timeframe, with optimal use on higher timeframes and logarithmic scaling
Candle Breakout Oscillator [LuxAlgo]The Candle Breakout Oscillator tool allows traders to identify the strength and weakness of the three main market states: bullish, bearish, and choppy.
Know who controls the market at any given moment with an oscillator display with values ranging from 0 to 100 for the three main plots and upper and lower thresholds of 80 and 20 by default.
🔶 USAGE
The Candle Breakout Oscillator represents the three main market states, with values ranging from 0 to 100. By default, the upper and lower thresholds are set at 80 and 20, and when a value exceeds these thresholds, a colored area is displayed for the trader's convenience.
This tool is based on pure price action breakouts. In this context, we understand a breakout as a close above the last candle's high or low, which is representative of market strength. All other close positions in relation to the last candle's limits are considered weakness.
So, when the bullish plot (in green) is at the top of the oscillator (values above 80), it means that the bullish breakouts (close below the last candle low) are at their maximum value over the calculation window, indicating an uptrend. The same interpretation can be made for the bearish plot (in red), indicating a downtrend when high.
On the other hand, weakness is indicated when values are below the lower threshold (20), indicating that breakouts are at their minimum over the last 100 candles. Below are some examples of the possible main interpretations:
There are three main things to look for in this oscillator:
Value reaches extreme
Value leaves extreme
Bullish/Bearish crossovers
As we can see on the chart, before the first crossover happens the bears come out of strength (top) and the bulls come out of weakness (bottom), then after the crossover the bulls reach strength (top) and the bears weakness (bottom), this process is repeated in reverse for the second crossover.
The other main feature of the oscillator is its ability to identify periods of sideways trends when the sideways values have upper readings above 80, and trending behavior when the sideways values have lower readings below 20. As we just saw in the case of bullish vs. bearish, sideways values signal a change in behavior when reaching or leaving the extremes of the oscillator.
🔶 DETAILS
🔹 Data Smoothing
The tool offers up to 10 different smoothing methods. In the chart above, we can see the raw data (smoothing: None) and the RMA, TEMA, or Hull moving averages.
🔹 Data Weighting
Users can add different weighting methods to the data. As we can see in the image above, users can choose between None, Volume, or Price (as in Price Delta for each breakout).
🔶 SETTINGS
Window: Execution window, 100 candles by default
🔹 Data
Smoothing Method: Choose between none or ten moving averages
Smoothing Length: Length for the moving average
Weighting Method: Choose between None, Volume, or Price
🔹 Thresholds
Top: 80 by default
Bottom: 20 by default
SD Median NUPL-Z🧠 Overview
SD Median NUPL-Z is a trend-following indicator that leverages a normalized version of Bitcoin’s Net Unrealized Profit/Loss (NUPL) metric, filtered through a median-based volatility band. Unlike traditional NUPL which is often used to spot extremes, this indicator is designed to identify sustained directional trends — entering only when both on-chain momentum and price structure align.
🧩 Key Features
Z-Scored NUPL Trend Engine: Normalizes NUPL using rolling mean and standard deviation to create a smoothed trend signal.
Price Structure Filter: Implements a median-based price band to avoid false entries during short-term volatility.
Custom Thresholds: User-defined thresholds determine when the trend signal is strong enough to justify a long or short directional bias.
Directional Candle Coloring: Reinforces current trend regime visually with aqua (bullish) and red (bearish) plots and candles.
Optimized for BTC: Uses Bitcoin’s Market Cap and Realized Cap to construct the NUPL input.
🔍 How It Works
On-Chain Core: NUPL is calculated as the percentage of unrealized profit in the market: (Market Cap - Realized Cap) / Market Cap * 100.
Z-Score Transformation: The raw NUPL value is normalized using a rolling average and standard deviation over a set window (default 134 days), producing the NUPL-Z series.
Median-Based Price Filter: A rolling 50th percentile (median) of price is used alongside its own standard deviation to create upper and lower bounds.
These bounds define a "volatility corridor" around price; the trend signal is only acted upon if price confirms by staying outside these bands.
Signal Logic:
A Long signal is triggered when NUPL-Z rises above the long threshold and price is not below the lower band.
A Short signal is triggered when NUPL-Z falls below the short threshold.
State Variable (CD): Tracks the current market regime, used to control plotting and color changes.
🔁 Use Cases & Applications
Momentum-Based Trend Following: Helps traders align with directional moves backed by both on-chain sentiment and supportive price structure.
Filtered Entry Timing: Reduces premature or noise-based entries by requiring price confirmation before committing to NUPL-based signals.
Best Suited for BTC: This tool is designed specifically around Bitcoin’s on-chain metrics and is not intended for altcoins or low-volume assets.
✅ Conclusion
SD Median NUPL-Z repurposes a traditionally cyclical valuation tool into a modern trend-following signal by combining statistical normalization with dynamic price structure filtering. It offers a more robust way to participate in high-conviction directional trends, reducing the likelihood of entering during short-lived counter moves.
⚠️ Disclaimer
The content provided by this indicator is for educational and informational purposes only. Nothing herein constitutes financial or investment advice. Trading and investing involve risk, including the potential loss of capital. Always backtest and apply risk management suited to your strategy.
Golden & Death Cross ConnectorThe Golden & Death Cross Connector automatically identifies every 50-period/200-period golden cross (bullish crossover of the 50 SMA above the 200 SMA) and death cross (bearish crossunder), then visually marks each event with a vertical line and on-chart label. As soon as a golden cross occurs, the background highlights for five bars and a green vertical line and “BUY 50/200” label appear; when a death cross follows, a red line and “SELL 50/200” label draw. Finally, a bold blue line connects each golden cross to its subsequent death cross, making it easy to see the duration and price range of each cycle at a glance. Use this tool to spot trend shifts, measure trade duration, and improve timing confidence on any timeframe.
NUPL-Z For Loop🧠 Overview
NUPL-Z For Loop is a trend-following indicator built on Bitcoin’s on-chain Net Unrealized Profit/Loss (NUPL) metric. It uses a Z-scored transformation of NUPL and a custom loop-based scoring system to measure the consistency of directional movement. Rather than identifying tops and bottoms, this tool is designed to track sustained trends and filter out short-term noise, making it ideal for momentum-aligned strategies.
🧩 Key Features
Loop-Based Trend Logic: Assesses trend strength by summing the number of upward vs. downward moves in Z-scored NUPL across a custom lookback.
Z-Score Normalization: Applies long-term statistical normalization to NUPL to emphasize deviation from average behavior over time.
Threshold-Based Regime Shifts: Custom input thresholds define when trend strength is significant enough to trigger long or short signals.
Directional Market State Tracking: Internally tracks bullish, bearish, or neutral conditions to guide trend entries.
BTC-Focused On-Chain Analysis: Tailored specifically for Bitcoin using Market Cap and Realized Cap inputs.
🔍 How It Works
NUPL Calculation: Derived as the percentage of net unrealized profit relative to market cap: (MC - RMC) / MC * 100.
Z-Scoring: NUPL is normalized using a rolling mean and standard deviation over a long window (default 1300 days) to create a smoothed trend signal.
Directional Loop: A custom loop iterates from the start_loop to the end_loop, comparing the current Z-score to past values.
Each instance where NUPL_Z > NUPL_Z adds +1 to the score; otherwise, it subtracts -1.
This cumulative score reflects how consistently NUPL-Z has been trending.
Signal Logic:
Long signal when loop score exceeds long_threshold.
Short signal when score falls below short_threshold.
CD State Engine: Maintains the current trend regime (1 for long, -1 for short), which drives plot coloring and overlays.
🔁 Use Cases & Applications
Momentum Trend Filter: Detects and confirms sustained directional strength in BTC’s profit/loss positioning.
Noise Suppression: Avoids reactive signals from one-off spikes or dips in NUPL by requiring a consistent trend before confirming bias.
Best Suited for BTC: Designed specifically for Bitcoin’s price and on-chain structure, using its unique NUPL dynamics.
✅ Conclusion
NUPL-Z For Loop transforms a traditionally mean-reverting indicator into a trend-following signal engine. By scoring the consistency of movement in normalized NUPL, this tool identifies trend strength rather than reversal potential — providing more reliable context for momentum-aligned trades on Bitcoin.
⚠️ Disclaimer
The content provided by this indicator is for educational and informational purposes only. Nothing herein constitutes financial or investment advice. Trading and investing involve risk, including the potential loss of capital. Always backtest and apply risk management suited to your strategy.
MVRV-Z For Loop🧠 Overview
MVRV-Z For Loop is a trend-following indicator that applies a custom directional for-loop logic to the MVRV Z-score. By evaluating the number of consecutive Z-score improvements or deteriorations over time, it identifies sustained directional pressure in Bitcoin’s on-chain trend — helping traders align with prevailing market strength rather than reacting to single-point extremes.
🧩 Key Features
Loop-Based Trend Filter: Applies a running comparison loop to assess whether MVRV-Z has been consistently strengthening or weakening.
Directional Scoring System: Each upward movement contributes positively, and each downward movement negatively, producing a cumulative trend score.
Z-Scored MVRV: Leverages on-chain valuation via the Market Cap to Realized Cap ratio, normalized using a long-term rolling average and standard deviation.
Custom Thresholds: User-defined thresholds for long and short signals based on trend score magnitude.
Dynamic Candle Coloring: Visually reinforces trend state with aqua for bullish and red for bearish environments.
🔍 How It Works
Z-score Transformation: The MVRV ratio is normalized over a long lookback (default 1050 days), creating a standardized valuation signal.
For-Loop Engine: A directional loop compares the current MVRV-Z value to previous values within a defined range (start to end).
If today’s value is higher than ma , it adds +1 to the score; otherwise, it subtracts -1.
This loop effectively measures momentum consistency rather than magnitude alone.
Signal Logic:
A Long signal is triggered when the cumulative trend score exceeds the long_threshold.
A Short signal is triggered when the score drops below the short_threshold.
State Variable (CD): Tracks the market regime (1 = long, -1 = short), updating only when a valid condition is met.
🔁 Use Cases & Applications
Trend Confirmation Tool: Helps traders assess whether a directional move has been sustained over time before committing.
Momentum Alignment: Filters out short-term noise by scoring consistency in MVRV-Z movement rather than relying on single-bar reversals.
Best Suited for BTC: This indicator is specifically built using Bitcoin’s Market Cap and Realized Cap metrics, making it ideal for BTC trend tracking.
✅ Conclusion
MVRV-Z For Loop transforms the traditional MVRV Z-score into a trend-following signal using a cumulative scoring approach. It excels in highlighting sustained directional strength and avoids premature entries during valuation whipsaws. This makes it a strong tool for traders looking to stay on the right side of the trend without overreacting to short-term fluctuations.
⚠️ Disclaimer
The content provided by this indicator is for educational and informational purposes only. Nothing herein constitutes financial or investment advice. Trading and investing involve risk, including the potential loss of capital. Always backtest and apply risk management suited to your strategy.