UT Bot + Hull MA Confirmed Signal DelayOverview
This indicator is designed to detect high-probability reversal entry signals by combining "UT Bot Alerts" (UT Bot Alerts script adapted from QuantNomad - Originally developed by Yo_adriiiiaan and idea of original code for "UT Bot Alerts" from HPotter ) with confirmation from a Hull Moving Average (HMA) Developed by Alan Hull . It focuses on capturing momentum shifts that often precede trend reversals, helping traders identify potential entry points while filtering out false signals.
🔍 How It Works
This strategy operates in two stages:
1. UT Bot Momentum Trigger
The foundation of this script is the "UT Bot Alerts" , which uses an ATR-based trailing stop to detect momentum changes. Specifically:
The script calculates a dynamic stop level based on the Average True Range (ATR) multiplied by a user-defined sensitivity factor (Key Value).
When price closes above this trailing stop and the short-term EMA crosses above the stop, a potential buy setup is triggered.
Conversely, when price closes below the trailing stop and the short-term EMA crosses below, a potential sell setup is triggered.
These UT Bot alerts are designed to identify the initial shift in market direction, acting as the first filter in the signal process.
2. Hull MA Confirmation
To reduce noise and false triggers from the UT Bot alone, this script delays the entry signal until price confirms the move by crossing the Hull Moving Average (or its variants: HMA, THMA, EHMA) in the same direction as the UT Bot trigger:
A Buy Signal is generated only when:
A UT Bot Buy condition is active, and
The price closes above the Hull MA.
Or, if a UT Bot Buy condition was recently triggered but price hadn’t yet crossed above the Hull MA, a delayed buy is signaled when price finally breaks above it.
A Sell Signal is generated only when:
A UT Bot Sell condition is active, and
The price closes below the Hull MA.
Similarly, a delayed sell signal can occur if price breaks below the Hull MA shortly after a UT Bot Sell trigger.
This dual-confirmation process helps traders avoid premature entries and improves the reliability of reversal signals.
📈 Best Use Cases
Reversal Trading: This strategy is particularly well-suited for catching early trend reversals rather than trend continuations. It excels at identifying momentum pivots that occur after pullbacks or exhaustion moves.
Heikin Ashi Charts Recommended: The script offers a Heikin Ashi mode for smoothing out noise and enhancing visual clarity. Using Heikin Ashi candles can further reduce whipsaws and highlight cleaner shifts in trend direction.
MACD Alignment: For best results, trade in the direction of the MACD trend or use it as a filter to avoid counter-trend trades.
⚠️ Important Notes
Entry Signals Only: This indicator only plots entry points (Buy and Sell signals). It does not define exit strategies, so users should manage trades manually using trailing stops, profit targets, or other exit indicators.
No Signal = No Confirmation: You may see a UT Bot trigger without a corresponding Buy/Sell signal. This means the price did not confirm the move by crossing the Hull MA, and therefore the setup was considered too weak or incomplete.
⚙️ Customization
UT Bot Sensitivity: Adjust the “Key Value” and “ATR Period” to make the UT Bot more or less reactive to price action.
Use Heikin Ashi: Toggle between standard candles or Heikin Ashi in the indicator settings for a smoother trading experience.
The HMA length may also be modified in the indicator settings from its standard 55 length to increase or decrease the sensitivity of signal.
This strategy is best used by traders looking for a structured, logic-based way to enter early into reversals with added confirmation to reduce risk. By combining two independent systems—momentum detection (UT Bot) and trend confirmation (Hull MA)—it aims to provide high-confidence entries without overwhelming complexity.
Let the indicator guide your entries—you manage the exits.
Examples of use:
Futures:
Stock:
Crypto:
As shown in the snapshots this strategy, like most, works the best when price action has a sizeable ATR and works the least when price is choppy. Therefore it is always best to use this system when price is coming off known support or resistance levels and when it is seen to respect short term EMA's like the 9 or 15.
My personal preference to use this system is for day trading on a 3 or 5 minute chart. But it is valid for all timeframes and simply marks a high probability for a new trend to form.
Sources:
Quant Nomad - www.tradingview.com
Yo_adriiiiaan - www.tradingview.com
HPotter - www.tradingview.com
Hull Moving Average - alanhull.com
波動率
Polarity-VoVix Fusion Index (PVFI) Polarity-VoVix Fusion Index (PVFI) - Order Flow and Volatility Regime Detector
The PVFI is a next-generation indicator that fuses the Order Flow Polarity Index (OFPI) with a proprietary VoVix Volume Delta (VVD) engine. This tool is designed for traders who want to see not just how much volume is trading, but who is in control and how volatility is shifting beneath the surface.
What Makes PVFI Standout from the rest?
- Dual Engine: PVFI combines two advanced signals:
* OFPI: Measures real-time buy/sell pressure using candle body position and volume, then smooths it with a T3 moving average for clarity and responsiveness.
* VVD: Captures the "volatility of volume delta" - a normalized, memory-boosted measure of aggressive buying/selling, with a custom non-linear clamp for organic, non-pegged signals.
- Visual Clarity: Neon-glow OFPI line and shadowed, color-gradient VVD area make regime shifts and momentum instantly visible.
- Adaptive Dashboard: Toggle between a full-featured dashboard (desktop) and a compact info line (mobile) for seamless use on any device.
- Universal: Works on any asset - crypto, stocks, futures, forex - and any timeframe.
- No Chart Clutter: Clean, modern visuals and toggles for a pro look.
Inputs:
OFPI Lookback Length (ofpi_len): Sets the window for order flow pressure calculation. Shorter = more sensitive, longer = smoother. For scalping, try 5-10. For swing trading, 15-30. Crypto often benefits from shorter windows due to volatility.
OFPI T3 Smoothing Length (t3_len): Controls the smoothness of the OFPI line. Lower = more responsive, higher = smoother. Use 3-7 for fast markets, 8-15 for slow or higher timeframes.
OFPI T3 Volume Factor (t3_vf): Adjusts the T3’s sensitivity. Higher = more responsive, lower = more stable. 0.6-0.8 is typical. Raise for more “snappy” signals, lower for less noise.
VVD Delta Lookback (delta_len): Sets the window for VVD’s volume delta calculation. 10-20 for most assets. Shorter for high-volatility, longer for slow markets.
VVD Volatility Normalization Length (vol_norm_len): Normalizes VVD by recent volume. 15-30 is typical. Use higher for assets with wild volume swings.
VVD Momentum Memory (momentum_mem): Adds a “memory” boost to VVD, amplifying persistent buying/selling. 2-5 is common. Lower for choppy markets, higher for trending.
Show Dashboard (showDash): Toggles the full dashboard table (best for desktop). Turn off for a minimalist or mobile setup.
Show Compact Info Line (showInfoLabel): Toggles a single-line info label (best for mobile). Turn on for mobile or minimalist setups.
How PVFI Works:
- OFPI Calculation: Splits each candle’s volume into buy/sell pressure based on where the close is within the range. Aggregates over your chosen lookback, then smooths with a T3 moving average for a neon, lag-minimized signal.
- VVD Calculation: Measures the “aggression” of volume (body-weighted), normalizes by recent volume, and applies a memory boost for persistent trends. Uses a custom tanh clamp for a natural, non-pegged range.
- Visuals: OFPI is plotted as a neon line (with glow). VVD is a color-gradient area with a soft shadow, instantly showing regime shifts.
- Dashboard/Info Line: Desktop: Full dashboard with all key stats, color-coded and branded. Mobile: Compact info line with arrows for quick reads.
How you'll use PVFI:
- Bullish OFPI (Teal Neon, Up Arrow): Buyers are dominating. Look for breakouts, trend continuations, or confirmation with your own system.
- Bearish OFPI (Green Neon, Down Arrow): Sellers are in control. Watch for breakdowns or short setups.
- VVD Positive (Teal Area): Aggressive buying is increasing. Confirm with price action.
- VVD Negative (Purple Area): Aggressive selling is increasing. Use for risk management or short bias.
- Neutral/Flat: Market is balanced or indecisive. Consider waiting for a clear regime shift.
- Dashboard/Info Line: Use the dashboard for full context, or the info line for a quick glance on mobile.
Tips:
- For scalping, use lower lookbacks and smoothing.
- For swing trading, increase lookbacks and smoothing for stability.
- Works on all assets and timeframes - tune to your style.
Why PVFI is Unique:
- Fusion of Order Flow and Volatility: No other indicator combines body-based order flow with a volatility-of-volume delta, both visualized with modern, pro-grade graphics.
- Adaptive, Not Static: PVFI adapts to market regime, not just price movement.
- Mobile-Ready: Dashboard and info line toggles for any device.
- No Chart Clutter: Clean, color-coded, and easy to read.
For Educational Use Only
PVFI is a research and educational tool, not financial advice. Always use proper risk management and combine with your own strategy.
Trade with clarity. Trade with edge.
— Dskyz , for DAFE Trading Systems
Range Progress TrackerRANGE PROGRESS TRACKER(RPT)
PURPOSE
This indicator helps traders visually and statistically understand how much of the typical price range (measured by ATR) has already been covered in the current period (Daily, Weekly, or Monthly). It includes key features to assist in trend exhaustion analysis, reversal spotting, and smart alerting.
CORE LOGIC
The indicator calculates the current range of the selected time frame (e.g., Daily), which is:
Current Range = High - Low
This is then compared to the ATR (Average True Range) of the same time frame, which represents the average price movement range over a defined period (default is 14).
The comparison is expressed as a percentage, calculated with this formula:
Range % = (Current Range / ATR) × 100
This percentage shows how much of the “average expected move” has already occurred.
WHY IT MATTERS
When the current range approaches or exceeds 100% of ATR, it means the price has already moved as much as it typically does in a full session.
This indicates a lower probability of continuing the trend with a new high or low, especially when the price is already near the session's high or low.
This setup can signal:
A possible consolidation phase
A reversal in trend
The market entering a corrective phase
SMART ALERTS
The indicator can alert you when:
A new high is made after the range percentage exceeds your set threshold.
A new low is made after the range percentage exceeds your set threshold.
You can adjust the Range % Alert Threshold in the settings to tailor it to your trading style.
JPMorgan G7 Volatility IndexThe JPMorgan G7 Volatility Index: Scientific Analysis and Professional Applications
Introduction
The JPMorgan G7 Volatility Index (G7VOL) represents a sophisticated metric for monitoring currency market volatility across major developed economies. This indicator functions as an approximation of JPMorgan's proprietary volatility indices, providing traders and investors with a normalized measurement of cross-currency volatility conditions (Clark, 2019).
Theoretical Foundation
Currency volatility is fundamentally defined as "the statistical measure of the dispersion of returns for a given security or market index" (Hull, 2018, p.127). In the context of G7 currencies, this volatility measurement becomes particularly significant due to the economic importance of these nations, which collectively represent more than 50% of global nominal GDP (IMF, 2022).
According to Menkhoff et al. (2012, p.685), "currency volatility serves as a global risk factor that affects expected returns across different asset classes." This finding underscores the importance of monitoring G7 currency volatility as a proxy for global financial conditions.
Methodology
The G7VOL indicator employs a multi-step calculation process:
Individual volatility calculation for seven major currency pairs using standard deviation normalized by price (Lo, 2002)
- Weighted-average combination of these volatilities to form a composite index
- Normalization against historical bands to create a standardized scale
- Visual representation through dynamic coloring that reflects current market conditions
The mathematical foundation follows the volatility calculation methodology proposed by Bollerslev et al. (2018):
Volatility = σ(returns) / price × 100
Where σ represents standard deviation calculated over a specified timeframe, typically 20 periods as recommended by the Bank for International Settlements (BIS, 2020).
Professional Applications
Professional traders and institutional investors employ the G7VOL indicator in several key ways:
1. Risk Management Signaling
According to research by Adrian and Brunnermeier (2016), elevated currency volatility often precedes broader market stress. When the G7VOL breaches its high volatility threshold (typically 1.5 times the 100-period average), portfolio managers frequently reduce risk exposure across asset classes. As noted by Borio (2019, p.17), "currency volatility spikes have historically preceded equity market corrections by 2-7 trading days."
2. Counter-Cyclical Investment Strategy
Low G7 volatility periods (readings below the lower band) tend to coincide with what Shin (2017) describes as "risk-on" environments. Professional investors often use these signals to increase allocations to higher-beta assets and emerging markets. Campbell et al. (2021) found that G7 volatility in the lowest quintile historically preceded emerging market outperformance by an average of 3.7% over subsequent quarters.
3. Regime Identification
The normalized volatility framework enables identification of distinct market regimes:
- Readings above 1.0: Crisis/high volatility regime
- Readings between -0.5 and 0.5: Normal volatility regime
- Readings below -1.0: Unusually calm markets
According to Rey (2015), these regimes have significant implications for global monetary policy transmission mechanisms and cross-border capital flows.
Interpretation and Trading Applications
G7 currency volatility serves as a barometer for global financial conditions due to these currencies' centrality in international trade and reserve status. As noted by Gagnon and Ihrig (2021, p.423), "G7 currency volatility captures both trade-related uncertainty and broader financial market risk appetites."
Professional traders apply this indicator in multiple contexts:
- Leading indicator: Research from the Federal Reserve Board (Powell, 2020) suggests G7 volatility often leads VIX movements by 1-3 days, providing advance warning of broader market volatility.
- Correlation shifts: During periods of elevated G7 volatility, cross-asset correlations typically increase what Brunnermeier and Pedersen (2009) term "correlation breakdown during stress periods." This phenomenon informs portfolio diversification strategies.
- Carry trade timing: Currency carry strategies perform best during low volatility regimes as documented by Lustig et al. (2011). The G7VOL indicator provides objective thresholds for initiating or exiting such positions.
References
Adrian, T. and Brunnermeier, M.K. (2016) 'CoVaR', American Economic Review, 106(7), pp.1705-1741.
Bank for International Settlements (2020) Monitoring Volatility in Foreign Exchange Markets. BIS Quarterly Review, December 2020.
Bollerslev, T., Patton, A.J. and Quaedvlieg, R. (2018) 'Modeling and forecasting (un)reliable realized volatilities', Journal of Econometrics, 204(1), pp.112-130.
Borio, C. (2019) 'Monetary policy in the grip of a pincer movement', BIS Working Papers, No. 706.
Brunnermeier, M.K. and Pedersen, L.H. (2009) 'Market liquidity and funding liquidity', Review of Financial Studies, 22(6), pp.2201-2238.
Campbell, J.Y., Sunderam, A. and Viceira, L.M. (2021) 'Inflation Bets or Deflation Hedges? The Changing Risks of Nominal Bonds', Critical Finance Review, 10(2), pp.303-336.
Clark, J. (2019) 'Currency Volatility and Macro Fundamentals', JPMorgan Global FX Research Quarterly, Fall 2019.
Gagnon, J.E. and Ihrig, J. (2021) 'What drives foreign exchange markets?', International Finance, 24(3), pp.414-428.
Hull, J.C. (2018) Options, Futures, and Other Derivatives. 10th edn. London: Pearson.
International Monetary Fund (2022) World Economic Outlook Database. Washington, DC: IMF.
Lo, A.W. (2002) 'The statistics of Sharpe ratios', Financial Analysts Journal, 58(4), pp.36-52.
Lustig, H., Roussanov, N. and Verdelhan, A. (2011) 'Common risk factors in currency markets', Review of Financial Studies, 24(11), pp.3731-3777.
Menkhoff, L., Sarno, L., Schmeling, M. and Schrimpf, A. (2012) 'Carry trades and global foreign exchange volatility', Journal of Finance, 67(2), pp.681-718.
Powell, J. (2020) Monetary Policy and Price Stability. Speech at Jackson Hole Economic Symposium, August 27, 2020.
Rey, H. (2015) 'Dilemma not trilemma: The global financial cycle and monetary policy independence', NBER Working Paper No. 21162.
Shin, H.S. (2017) 'The bank/capital markets nexus goes global', Bank for International Settlements Speech, January 15, 2017.
VWMA and EMA Crossover SignalsTrading signals based on VWMA and EMA cross overs. Buy and sell signals are produced once a cross over happens.
🐳 펭기 ETH 고래 매집 감지기//@version=5
indicator("🐳 펭기 ETH 고래 매집 감지기", overlay=true)
// OBV 계산
obv = 0.0
obv := nz(obv ) + (close > close ? volume : close < close ? -volume : 0)
obv_rising = obv > ta.sma(obv, 5)
// CMF 수동 계산
length = 20
mfv = ((close - low) - (high - close)) / (high - low) * volume
cmf = ta.sma(mfv, length) / ta.sma(volume, length)
cmf_positive = cmf > 0
// 거래량 급증 여부
vol_avg = ta.sma(volume, 5)
vol_surge = volume > vol_avg * 1.5
// 실체 양봉 조건
real_body = math.abs(close - open)
upper_wick = high - math.max(close, open)
candle_bullish = close > open and upper_wick < real_body * 0.3
// 고래 매집 트리거
trigger = obv_rising and cmf_positive and vol_surge and candle_bullish
// 시각화 및 알림
plotshape(trigger, title="ETH 고래 매집 신호", location=location.belowbar, color=color.teal, style=shape.labelup, text="🐳")
alertcondition(trigger, title="📢 ETH 고래 매집 감지!", message="ETH에서 고래 매집 조건 충족!")
VVIX Z-Score Signal with Bidirectional ROC HighlightUsing VVIX as a leading indicator, Z scores, rate of change to front run the SPY
Squeeze Momentum [Ryu_xp] - EnhancedSqueeze Momentum – Enhanced (Pine v6) combines the classic “Bollinger Bands vs. Keltner Channels” squeeze with a momentum oscillator to highlight breakouts and momentum shifts in one pane.
Key Components:
Pine v6: fully updated to TradingView’s latest Pine Script version (v6).
Configurable Inputs:
BB Length & MultFactor: set your Bollinger Bands.
KC Length & MultFactor (optionally using True Range): set your Keltner Channels.
Squeeze Logic:
Squeeze On when Bollinger Bands contract inside Keltner Channels (low volatility).
Squeeze Off when Bollinger Bands expand beyond Keltner Channels (volatility breakout).
No Squeeze in all other cases.
Momentum Oscillator:
Centered on zero, built via linear regression of price vs. a combined SMA/high–low average.
Plot as a filled area:
Bright lime = rising bullish momentum
Green = bullish but slowing
Red = falling bearish momentum
Maroon = bearish but slowing
Squeeze State Marker:
Cross‐style plot at zero:
Black dot = in squeeze
Gray dot = squeeze released
Blue dot = neutral (no squeeze)
Usage Tips:
• Apply to a clean chart (no other indicators).
• Watch for squeeze release (black→gray) aligned with a color flip in the oscillator to time high-probability entries.
• Tweak BB/KC lengths and multipliers to suit different timeframes and instruments.
IMPULSE SCALPER VENUS IIMPULSE SCALPER VENUS I is a high-performance real-time scalping tool designed for binary and forex traders. It combines impulse candle logic, RSI strength, EMA trend validation, and news avoidance filtering to deliver sharp buy/sell signals with precision.
✅ Impulse Candle Detection
✅ EMA Trend + RSI Momentum Confirmation
✅ High-Impact News Blocking (Red Zones)
✅ Cooldown Between Signals
✅ Mobile Alerts + Pop-Up Ready
✅ Real-Time BUY/SELL Labels
Ideal for 1–5 minute scalping on major forex pairs, indices, and binary platforms. Works best during high volume market sessions.
Circuit % Marker w/ Mirrored Arrows📈 Indian Market Circuit Limit Change Tracker
This indicator automatically tracks circuit limit changes (price bands) as applied in NSE/BSE stocks.
🧠 How It Works:
Start from a user-defined initial circuit limit (e.g. 10%)
If the upper or lower limit is hit, the script waits for a user-defined cooling period (e.g. 5 trading days)
After that, it automatically adjusts to the next lower or higher band (e.g. from 10% to 5%)
Shows a visual label with the current circuit % right on the chart — placed above or below candles for better visibility
🔧 Custom Inputs:
Starting Circuit % — choose between standard NSE/BSE values (20%, 10%, 5%, 2%)
Cooling Days — how many days must pass after a circuit hit before it’s allowed to change again
Label Positioning, Color, and Size — fully customizable to suit your chart style
🚫 No Clutter:
Doesn’t draw circuit limit lines
Just clean, small labels at key turning points — as seen in real trading dashboards
🔍 Notes:
NSE and BSE manually assign circuit bands — this script does not fetch live exchange data
Use it as a visual tracker and simulator of how circuit behavior would evolve under fixed rules
50-Week High Entry / 40-Week Low Exit StrategyThis is a simple long term strategy
Entry condition : You will enter the market when the stock’s current high exceeds its 50-week high. This condition enables you to identify upward momentum and capitalize on potential price surges.
Exit condition
Conversely, you will exit the market when the stock’s current low drops below its 40-week low. This exit strategy helps protect your capital by ensuring you withdraw from losing positions before further declines in price occur.
This trading strategy relies on the Donchian Channel indicator to monitor the relevant 50-week high and 40-week low levels. Given that this is a weekly trading strategy, all backtesting will be conducted using weekly timeframes.
CMA Technologies MACD Histogram Reversal Bot🔷 Strategy Name: CMA Technologies – MACD Histogram Reversal Bot
📈 Type: Momentum Reversal / Trend Change Detection
🕐 Recommended Timeframe: 1H / 4H / 1D
📊 Category: Quantitative Momentum System
🔧 Built with MACD histogram crossover logic
📘 Strategy Overview:
This bot by CMA Technologies uses the MACD histogram’s zero-line crossover to detect early momentum reversals and trend shifts. Instead of relying on price structure or lagging trend signals, this strategy focuses on momentum weakening and flipping.
Long Entry: When MACD histogram crosses from below to above the zero line → bullish momentum is likely starting
Short Entry: When MACD histogram crosses from above to below the zero line → bearish momentum is increasing
This approach helps capture trend reversals right at their origin — often before price visibly changes direction.
⚙️ Strategy Settings:
MACD Fast EMA: 12
MACD Slow EMA: 26
MACD Signal EMA: 9
Position Size: 50% of equity per trade
Pyramiding: Up to 10 entries in same direction
Commission: 0.05% per trade
⏱️ Best Timeframes:
For crypto and volatile assets: 1H or 4H
For larger trends and better signal quality: 1D
This bot works best on assets that tend to form clean momentum reversals, such as BTC, ETH, Gold, major FX pairs, etc.
🧠 Ideal Use-Cases:
Momentum-based trend reversals
Swing trading or intraday reversal setups
Traders looking to detect shifts in trend direction before price reacts
📌 Important Notes:
This system does not use price structure (support/resistance); it is purely momentum-based
You can extend it with:
RSI or ADX filters
Take profit / stop loss logic
Trend bias filters (e.g., higher timeframe EMA)
📍CMA Technologies – We don’t predict. We measure.
For more bots and strategy concepts, search: CMA Technologies on TradingView.
Cash Market Volatility StrategyBCM - Baycam
Brakout signals based on voltality parameters -
Closing price
ATR - Average true range
RSI
ADR & ATR Extension from EMAThis indicator helps identify how extended the current price is from a chosen Exponential Moving Average (EMA) in terms of both Average Daily Range (ADR) and Average True Range (ATR).
It calculates:
ADR Extension = (Price - EMA) / ADR
ATR Extension = (Price - EMA) / ATR
The results are shown in a floating table on the chart.
The ADR line turns red if the price is more than 4 ADRs above the selected EMA
Customization Options:
- Select EMA length
- Choose between close or high as price input
- Set ADR and ATR periods
- Customize the label’s position, color, and transparency
- Use the chart's timeframe or a fixed timeframe
India VIX TableThis indicator gives you the India Vix value in real time on your chart. You can change the position on the chart as per your preference.
Multi BB (3/4/5 SD) - Separate AlertsGives alert when Price touches Bollinger Band 3 or 4 or 5 on either higher or lower sides.
Average ATR (%) — No Spikes//@version=5
indicator("Average ATR (%) — No Spikes", overlay=true)
///////////////////////////
// Settings
atrLen = input.int(14, title="ATR Length")
barsBack = input.int(150, title="Bars to Average")
priceRef = input.string("close", title="Reference Price", options= )
level1 = input.float(1.0, title="Moderate Volatility Threshold (%)")
level2 = input.float(1.5, title="High Volatility Threshold (%)")
showLabel = input.bool(true, title="Show Value on Chart")
///////////////////////////
// ATR percentage calculation
refPrice = priceRef == "close" ? close : priceRef == "hl2" ? hl2 : open
atr = ta.atr(atrLen)
atrPct = atr / refPrice * 100
// Average ATR % over N bars
var float sum = 0.0
var int count = 0
sum := 0.0
count := 0
for i = 0 to barsBack - 1
sum += nz(atrPct )
count += 1
avgAtrPct = count > 0 ? sum / count : na
///////////////////////////
// Line color based on thresholds
lineColor = avgAtrPct > level2 ? color.red : avgAtrPct > level1 ? color.orange : color.green
plot(avgAtrPct, title="Average ATR (%)", color=lineColor, linewidth=2)
///////////////////////////
// Right-side label
var label infoLabel = na
if showLabel
txt = "Average ATR: " + str.tostring(avgAtrPct, "#.##") + " %"
if na(infoLabel)
infoLabel := label.new(bar_index, close, txt, style=label.style_label_right, size=size.normal, color=color.blue, textcolor=color.white)
else
label.set_xy(infoLabel, bar_index, close)
label.set_text(infoLabel, txt)
else
if not na(infoLabel)
label.delete(infoLabel)
infoLabel := na
ATR and Stochastics by XeodiacThis script combines two popular indicators, the Average True Range (ATR) and the Stochastic Oscillator, into a single chart for enhanced trading insights. Here’s a breakdown of how it works and what it does:
What It Does:
Average True Range (ATR):
Measures market volatility by calculating the average range of price movement over a specified period.
The ATR is plotted in blue on its natural scale, helping you assess how volatile the market is.
Stochastic Oscillator:
A momentum indicator that compares a security's closing price to its price range over a specific period.
It calculates two lines:
%K Line (Green): Tracks the raw Stochastic value.
%D Line (Red): A smoothed moving average of the %K line.
These values are plotted on a percentage scale (0-100) to indicate overbought or oversold conditions.
Inputs:
ATR Length: Specifies the number of periods used for ATR calculation (default is 14).
Stochastic %K Length: Determines the period for finding the highest high and lowest low for the %K calculation (default is 14).
Stochastic %D Smoothing: Sets the smoothing factor for the %D line (default is 3).
Visual Output:
Blue Line: Represents the ATR, showing how much price moves on average over the given period.
Green Line: The %K line of the Stochastic Oscillator, showing momentum shifts in the market.
Red Line: The %D line of the Stochastic Oscillator, providing a smoothed perspective on momentum.
Use Case:
This script is useful for:
Assessing Market Volatility: Use the ATR to understand how active the market is.
Identifying Overbought/Oversold Levels: Use the Stochastic Oscillator to identify potential reversal points.
Combining Signals: Analyze both indicators together to align volatility and momentum for better trading decisions.
ADX EMA's DistanceIt is well known to technical analysts that the price of the most volatile and traded assets do not tend to stay in the same place for long. A notable observation is the recurring pattern of moving averages that tend to move closer together prior to a strong move in some direction to initiate the trend, it is precisely that distance that is measured by the blue ADX EMA's Distance lines on the chart, normalized and each line being the distance between 2, 3 or all 4 moving averages, with the zero line being the point where the distance between them is zero, but it is also necessary to know the direction of the movement, and that is where the modified ADX will be useful.
This is the well known Directional Movement Indicator (DMI), where the +DI and -DI lines of the ADX will serve to determine the direction of the trend.
(FVC) Fractal Volatility Compression (DAFE) (FVC) Fractal Volatility Compression
See the Market’s Volatility DNA.
The Fractal Volatility Compression (FVC) is a next-generation tool for traders who want to see volatility compression and expansion across multiple timeframes and volatility engines—not just price, but the very structure of volatility itself.
What Makes FVC Unique?
Dual-Engine Volatility:
Plots both classic price-based (Stdev) and meta-volatility (VoVix) compression/expansion, so you can see when the market is “coiling” or “exploding” on multiple levels.
Fractal, Multi-Timeframe Analysis:
Measures volatility on short, medium, and long timeframes, then normalizes each as a Z-score. The result: a true “coiled spring” detector that works on any asset, any timeframe.
Threshold Lines You Control:
Yellow center line: Your neutral baseline.
Green compression line: When crossed, the market is “spring-loading.”
Red expansion line: When crossed, volatility is breaking out.
All lines are solid, clean, and end before the dashboard for a professional look.
Agreement Fill: When both engines agree (both above or both below the center line), a bright fill highlights the zone—red for expansion, green for compression.
Signature Dashboard & Info Line:
Dashboard (right-middle) shows all Z-scores and FVC values, color-coded for instant clarity.
Compact info label for mobile or minimalist users.
Inputs & Customization
Thresholds: Set the yellow, green, and red lines to match your asset, timeframe, and risk tolerance.
Timeframes & Lengths: Tune the short, medium, and long volatility windows for your style.
Toggle Lines: Show/hide Stdev or VoVix FVC lines independently.
Dashboard & Info Line: Toggle for your workflow and screen size.
How to Use
Compression (below green): Market is “coiling” across timeframes—watch for explosive moves.
Expansion (above red): Volatility is breaking out—expect regime shifts or trend acceleration.
Agreement Fill: When both lines agree, the signal is strongest.
Not a Buy/Sell Signal: These are regime and structure signals—combine with your own
strategy and risk management.
Why should you use FVC?
See what others can’t:
Most tools show only one dimension of volatility. FVC reveals the fractal DNA of market compression and expansion. Works on any asset, any timeframe. Professional, clean, and fully customizable.
Fractal Volatility Compression (FVC):
Because the next big move is born in the market’s hidden compression.
For educational purposes only. Not financial advice. Always use proper risk management
Use with discipline. Trade your edge.
— Dskyz, for DAFE Trading Systems
Ind JDV 2.2 PRO con FVG y 3 EMAs
📝 Description for TradingView (English version):
Ind JDV 2.2 PRO with FVG and 3 EMAs
Overview:
This script identifies high-probability entry points by combining Fair Value Gaps (FVGs), trend filters using Exponential Moving Averages (EMAs), and momentum confirmation via Chandelier Exit. It focuses on structural imbalance and only triggers a signal on the third candle of a valid FVG—ensuring precision and trend alignment.
What does this indicator do and how does it work?
🔶 Fair Value Gaps (FVG):
The script detects FVGs using a standard 3-candle logic. If candle 1 and candle 3 do not overlap, a liquidity gap is detected. These gaps are drawn as extended boxes, helping traders visually track potential zones of reaction or continuation.
Orange FVG (traditionally bearish): Potential selling zones.
Green FVG (traditionally bullish): Potential buying zones.
🔷 Three EMAs as Trend Filters:
The system includes 3 configurable Exponential Moving Averages to help filter trades based on trend strength:
EMA 150 (main trend filter)
EMA 50 (mid-term trend)
EMA 20 (short-term sensitivity)
You can enable or disable the EMA filter for flexible use across scalping, intraday, or swing setups.
🟣 Chandelier Exit for Momentum Confirmation:
This dynamic ATR-based trailing stop is used here as an entry confirmation:
Long trades: Price must be above the Chandelier Long level.
Short trades: Price must be below the Chandelier Short level.
Entry Conditions (BUY or SELL signal):
A signal appears only on the third candle of a valid FVG, and only if:
A valid FVG was detected exactly 2 bars ago.
The signal direction matches the FVG type (green = BUY, orange = SELL).
Price is aligned with the main EMA direction.
Chandelier Exit confirms the momentum in the same direction.
How to Use:
Load the indicator on your preferred chart and timeframe (ideal for NASDAQ, crypto, or futures).
Observe painted FVGs as potential areas of trade opportunity.
Wait for a BUY or SELL signal exactly on the 3rd candle of the FVG.
Use the optional TP/SL lines or your own trade management strategy.
What makes this script original and useful?
This script is not a simple mashup of indicators. Its originality comes from:
A disciplined FVG logic with strict timing of signal placement.
The layered confirmation from trend (EMAs) and momentum (Chandelier Exit).
Full user control over entry conditions and visual clarity.
👉 A powerful tool for traders seeking to enter structural imbalance zones with strong confirmation and minimal noise.
📝 Descripción para TradingView (publicación en español):
Ind JDV 2.2 PRO con FVG y 3 EMAs
Resumen:
Este script está diseñado para detectar oportunidades de entrada precisas en el mercado combinando la lógica de Fair Value Gaps (FVG) con filtros de tendencia basados en EMAs y confirmación por medio del Chandelier Exit. La estrategia se enfoca en detectar desequilibrios de liquidez mediante FVGs de 3 velas y entrar en la tercera vela, solo si las condiciones de tendencia y momentum se alinean.
¿Qué hace este indicador y en qué se basa?
🔶 Fair Value Gaps (FVGs):
Los FVGs se detectan usando la clásica estructura de 3 velas. Se interpreta que si la vela 1 no solapa con la vela 3, existe un desequilibrio de liquidez que puede ser rellenado o actuar como zona de reacción.
Un FVG alcista (color naranja) indica posible impulso bajista posterior.
Un FVG bajista (color verde) indica potencial continuación alcista.
✅ Este script pinta esos FVGs como rectángulos que se extienden varias velas hacia adelante para facilitar su seguimiento visual.
🔷 Tres EMAs como filtros dinámicos:
El indicador incorpora 3 medias móviles exponenciales para filtrar condiciones de tendencia:
EMA principal de 150 periodos (filtro estructural).
EMA secundaria de 50 periodos.
EMA rápida de 20 periodos.
El usuario puede habilitar o deshabilitar el filtro principal para afinar la sensibilidad del sistema según el estilo operativo (scalping, intradía, swing).
🟣 Chandelier Exit como confirmación de momentum:
El Chandelier Exit actúa como trailing stop dinámico basado en ATR. Aquí se utiliza como confirmación de entrada:
En largos: el precio debe estar por encima del nivel Chandelier Long.
En cortos: debe estar por debajo del Chandelier Short.
Condición de entrada (señal BUY o SELL):
Una señal aparece únicamente en la tercera vela de un FVG si se cumplen:
Existencia de un FVG válido hace dos velas.
Dirección del FVG acorde a la señal (verde → BUY, naranja → SELL).
Precio cruzando la EMA principal en la dirección correcta.
Confirmación por Chandelier Exit.
¿Cómo usar este script?
Añádelo a tu gráfico y selecciona el activo y temporalidad de tu preferencia (ideal para NASDAQ, futuros, criptomonedas).
Usa los rectángulos como zonas de observación.
Espera una señal BUY o SELL sobre la tercera vela del FVG.
Puedes activar las líneas TP/SL sugeridas o aplicar tu propio manejo de riesgo.
¿Qué lo hace original y útil?
Este script no es una simple mezcla de indicadores. La originalidad radica en:
El uso riguroso de lógica de FVG aplicada sobre 3 velas, con señal solo en el momento justo.
La combinación con filtros de tendencia (EMAs) y momentum (Chandelier) para evitar entradas falsas.
El control total por parte del usuario sobre filtros y parámetros.
👉 Ideal para traders que buscan confirmar desequilibrios de precio con reglas objetivas de entrada en tendencia.
En Resumen: si el precio esta por encima de la EMA principal solo se toman las señales de buy despues de que se forme un FVG. no todas funcionan. y visceversa.
happy trading!!
ADR, ATR & VOL OverlayThis is a combined version of 2 of my other indicators:
ADR / ATR Overlay
VOL / AVG Overlay
This indicator will display the following as an overlay on your chart:
ADR
% of ADR
ADR % of Price
ATR
% of ATR
ATR % of Price
Custom Session Volume
Average For Selected Session
Volume Percentage Comparison
Description:
ADR : Average Day Range
% of ADR : Percentage that the current price move has covered its average.
ADR % of Price : The percentage move implied by the average range.
ATR : Average True Range
% of ATR : Percentage that the current price move has covered its average.
ATR % of Price : The percentage move implied by the average true range.
Custom Session Volume : User chosen time frame to monitor volume
Average For Selected Session : Average for the custom session volume
Volume Percentage Comparison : Current session compared to the average (calculated at session close)
Options:
ADR/ATR:
Time Frame
Length
Smoothing
Volume:
Set Custom Time Frame For Calculations
Set Custom Time Frame For Average Comparison
Set Custom Time Zone
Table:
Enable / Disable Each Value
Change Text Color
Change Background Color
Change Table location
Add/Remove extra row for placement
ADR / ATR Example:
The ADR and ATR can be used to provide information about average price moves to help set targets, stop losses, entries and exits based on the potential average moves.
Example: If the "% of ADR" is reading 100%, then 100% of the asset's average price range has been covered, suggesting that an additional move beyond the range has a lower probability.
Example: "ADR % of Price" provides potential price movement in percentage which can be used to asses R/R for asset.
Example: ADR (D) reading is 100% at market close but ATR (D) is at 70% at close. This suggests that there is a potential (coverage) move of 30% in Pre/Post market as suggested by averages.
Custom Volume Session Example:
Set indicator to 30 period average. Set custom time frame to 9:30am to 10:30am Eastern/New York.
When the time frame for the calculation is closed, the indicator will provide a comparison of the current days volume compared to the average of 30 previous days for that same time frame and display it as a percentage in the table.
In this example you could compare how the first hour of the trading day compares to the previous 30 day's average, aiding in evaluating the potential volume for the remainder of the day.
Notes:
Times must be entered in 24 hour format. (1pm = 13:00 etc.)
Volume indicator is for Intra-day time frames, not > Day.
How I use these values:
I use these calculations to determine if a ticker symbol has the necessary range to achieve target gains, to determine if the price oscillation is within "normal" ranges to determine if the trading day will be choppy, and to determine placement of stops and targets within average ranges in combination with support, resistance and retracement levels.
(MVD) Meta-Volatility Divergence (DAFE) Meta-Volatility Divergence (MVD)
Reveal the Hidden Tension in Volatility.
The Meta-Volatility Divergence (MVD) indicator is a next-generation tool designed to expose the disagreement between multiple volatility measures—helping you spot when the market’s “volatility engines” are out of sync, and a regime shift or volatility event may be brewing.
What Makes MVD Unique?
Multi-Source Volatility Analysis:
Unlike traditional volatility indicators that rely on a single measure, MVD fuses four distinct volatility signals:
ATR (Average True Range): Captures the average range of price movement.
Stdev (Standard Deviation): Measures the dispersion of closing prices.
Range: The average difference between high and low.
VoVix: A proprietary “volatility of volatility” metric, quantifying the difference between fast and slow ATR, normalized by ATR’s own volatility.
Divergence Engine:
The core MVD line (yellow) represents the mean absolute deviation (MAD) of these volatility measures from their average. When the line is flat, all volatility measures are in agreement. When the line rises, it means the market’s volatility signals are diverging—often a precursor to regime shifts, volatility expansions, or hidden stress.
Dynamic Z-Score Normalization:
The MVD line is normalized as a Z-score, so you can easily spot when current divergence is rare or extreme compared to recent history.
Visual Clarity:
Yellow center line: Tracks the real-time divergence of volatility measures.
Green dashed thresholds: Mark the ±2.00 Z-score levels, highlighting when divergence is unusually high and action may be warranted.
Dashboard: Toggleable panel shows all key metrics (ATR, Stdev, VoVix, MVD Z) and your custom branding.
Compact Info Label : For mobile or minimalist users, a single-line summary keeps you informed without clutter.
What Makes The MVD line move?
- The MVD line rises when the included volatility measures (ATR, Stdev, Range, VoVix) are moving in different directions or at different magnitudes. For example, if ATR is rising but Stdev is falling, the line will move up, signaling disagreement.
- The line falls or flattens when all volatility measures are in sync, indicating a consensus in the market’s volatility regime.
- VoVix adds a unique dimension, making the indicator especially sensitive to sudden changes in volatility structure that most tools miss.
Inputs & Settings
ATR Length: Sets the lookback for ATR calculation. Shorter = more sensitive, longer = smoother.
Stdev Length: Sets the lookback for standard deviation. Adjust for your asset’s volatility.
Range Length: Sets the lookback for the average high-low range.
MVD Lookback: Controls the window for Z-score normalization. Higher values = more historical context, lower = more responsive.
Show Dashboard: Toggle the full dashboard panel on/off.
Show Compact Info Label: Toggle the mobile-friendly info line on/off.
Tip:
Adjust these settings to match your asset’s volatility and your trading timeframe. There is no “one size fits all”—tuning is key to extracting the most value from MVD.
How to make MVD work for you:
Threshold Crosses: When the MVD line crosses above or below the green dashed thresholds (±2.00), it signals that volatility measures are diverging more than usual. This is a heads-up that a volatility event, regime shift, or hidden market stress may be developing.
Not a Buy/Sell Signal: A threshold cross is not a direct buy or sell signal. It is an indication that the market’s volatility structure is changing. Use it as a filter, confirmation, or alert in combination with your own strategy and risk management.
Dashboard & Info Line: Use the dashboard for a full view of all metrics, or the info label for a quick glance—especially useful on mobile.
Chart: MNQ! on 5min frames
ATR: 14
StDev L: 11
Range L: 13
MDV LB: 13
Important Note
MVD is a market structure and volatility regime tool.
It is designed to alert you to potential changes in market conditions, not to provide direct trade entries or exits. Always combine with your own analysis and risk management.
Meta-Volatility Divergence:
See the market’s hidden tension. Anticipate the next wave.
For educational purposes only. Not financial advice. Always use proper risk management.
Use with discipline. Trade your edge.
— Dskyz, for DAFE Trading Systems