PROTECTED SOURCE SCRIPT
XAU Power Meter + HTF FVG System

What is this?
XAU Power Meter + HTF FVG System is an execution-support tool for XAUUSD that combines:
Local trend & momentum on your entry timeframe (e.g. 5m)
Volatility regime (ATR)
Higher-timeframe FVG bias (e.g. 1H)
The goal is simple: filter out low-quality trades and size up only when the market actually moves.
Core Components
1. LTF Trend (MA Stack 20 / 50 / 200)
The indicator builds a “stacked trend” using three MAs:
Bullish trend → price > MA20 > MA50 > MA200
Bearish trend → price < MA20 < MA50 < MA200
Anything else → RANGE
This gives a clean directional bias for intraday execution.
2. CCI Impulse (“Power”)
The CCI block measures the strength of the current move via |CCI| and classifies it into 4 bands:
LOW – weak momentum, usually not worth it
MEDIUM – acceptable impulse
HIGH – strong impulse
EXTREME – very strong, potential blow-off / late entry zone
These bands are used both for signal quality (Grade) and for position size guidance.
3. ATR Volatility Regime
ATR(14) is compared against its own SMA(100) to classify volatility:
QUIET – ATR < K * ATR_slow
NORMAL
ACTIVE – ATR > K * ATR_slow
You don’t want to size up in a dead market. ATR regime is used inside the Grade calculation.
4. Grade System (A / B / C / X)
The indicator compresses Trend + CCI + ATR into a single Grade:
A – In trend, strong impulse (HIGH/EXTREME), active volatility → top setups
B – In trend, at least MEDIUM impulse, acceptable volatility → good setups
C – In trend, but weaker conditions → borderline, be selective
X – Out of trend or no momentum → avoid
Internally, execution signals require Grade ≥ B for two bars in a row, to avoid one-bar “fake” spikes.
5. HTF FVG Bias (e.g. 1H)
On a higher timeframe (default: 1H), the script runs a Fair Value Gap engine with:
EMA 50/200 trend filter
ATR-based body filter (minimum candle strength)
Wilder ADX filter (trend strength)
Deep retest requirement inside the FVG zone
Optional zone auto-expiry and delete-on-use
It returns:
BUY (bullish HTF FVG confirmed)
SELL (bearish HTF FVG confirmed)
NONE (no valid zone active)
You can control how strict this bias is used via a “Strict: require active HTF FVG for entry” checkbox:
Strict OFF (default) → HTF bias can block trades against a strong HTF signal, but allows trades when HTF is neutral.
Strict ON → LTF entries are allowed only when HTF has an active FVG in the same direction (very selective).
HTF events are shown on the chart as HTF BUY / HTF SELL markers.
Execution Signals (LTF LONG / SHORT)
On your entry timeframe (e.g. 5m), the script generates LONG / SHORT arrows when:
Trend is clearly bullish or bearish (MA stack aligned),
Grade ≥ B for two consecutive bars,
HTF bias conditions are satisfied (depending on the strict mode).
These arrows are not a full auto-strategy, but a high-quality execution cue:
“Trend OK + Momentum OK + Volatility OK + HTF not against you.”
Dashboard
A compact dashboard in the corner shows, in real time:
Trend – UP / DOWN / RANGE (20/50/200 stack)
Impulse (CCI) – LOW / MEDIUM / HIGH / EXTREME
Volatility (ATR) – QUIET / NORMAL / ACTIVE
Size Multiplier – suggested risk sizing factor based on impulse
Grade – A / B / C / X
HTF FVG – BUY / SELL / NONE
This lets you sanity-check the context before pressing the button, not after the loss.
Recommended Use
Instrument: XAUUSD
Timeframe: 5m (scalping / intraday), but can be tested on 15m/1H as well
HTF: 1H by default (can experiment with 4H)
Focus on:
Grade A/B only
Strict mode ON for more institutional, fewer but higher-quality trades
Size up only when both impulse and volatility are supportive
Disclaimer
This script is a decision-support tool, not financial advice and not a guarantee of profit.
Always forward-test, understand the logic, and use your own risk management.
XAU Power Meter + HTF FVG System is an execution-support tool for XAUUSD that combines:
Local trend & momentum on your entry timeframe (e.g. 5m)
Volatility regime (ATR)
Higher-timeframe FVG bias (e.g. 1H)
The goal is simple: filter out low-quality trades and size up only when the market actually moves.
Core Components
1. LTF Trend (MA Stack 20 / 50 / 200)
The indicator builds a “stacked trend” using three MAs:
Bullish trend → price > MA20 > MA50 > MA200
Bearish trend → price < MA20 < MA50 < MA200
Anything else → RANGE
This gives a clean directional bias for intraday execution.
2. CCI Impulse (“Power”)
The CCI block measures the strength of the current move via |CCI| and classifies it into 4 bands:
LOW – weak momentum, usually not worth it
MEDIUM – acceptable impulse
HIGH – strong impulse
EXTREME – very strong, potential blow-off / late entry zone
These bands are used both for signal quality (Grade) and for position size guidance.
3. ATR Volatility Regime
ATR(14) is compared against its own SMA(100) to classify volatility:
QUIET – ATR < K * ATR_slow
NORMAL
ACTIVE – ATR > K * ATR_slow
You don’t want to size up in a dead market. ATR regime is used inside the Grade calculation.
4. Grade System (A / B / C / X)
The indicator compresses Trend + CCI + ATR into a single Grade:
A – In trend, strong impulse (HIGH/EXTREME), active volatility → top setups
B – In trend, at least MEDIUM impulse, acceptable volatility → good setups
C – In trend, but weaker conditions → borderline, be selective
X – Out of trend or no momentum → avoid
Internally, execution signals require Grade ≥ B for two bars in a row, to avoid one-bar “fake” spikes.
5. HTF FVG Bias (e.g. 1H)
On a higher timeframe (default: 1H), the script runs a Fair Value Gap engine with:
EMA 50/200 trend filter
ATR-based body filter (minimum candle strength)
Wilder ADX filter (trend strength)
Deep retest requirement inside the FVG zone
Optional zone auto-expiry and delete-on-use
It returns:
BUY (bullish HTF FVG confirmed)
SELL (bearish HTF FVG confirmed)
NONE (no valid zone active)
You can control how strict this bias is used via a “Strict: require active HTF FVG for entry” checkbox:
Strict OFF (default) → HTF bias can block trades against a strong HTF signal, but allows trades when HTF is neutral.
Strict ON → LTF entries are allowed only when HTF has an active FVG in the same direction (very selective).
HTF events are shown on the chart as HTF BUY / HTF SELL markers.
Execution Signals (LTF LONG / SHORT)
On your entry timeframe (e.g. 5m), the script generates LONG / SHORT arrows when:
Trend is clearly bullish or bearish (MA stack aligned),
Grade ≥ B for two consecutive bars,
HTF bias conditions are satisfied (depending on the strict mode).
These arrows are not a full auto-strategy, but a high-quality execution cue:
“Trend OK + Momentum OK + Volatility OK + HTF not against you.”
Dashboard
A compact dashboard in the corner shows, in real time:
Trend – UP / DOWN / RANGE (20/50/200 stack)
Impulse (CCI) – LOW / MEDIUM / HIGH / EXTREME
Volatility (ATR) – QUIET / NORMAL / ACTIVE
Size Multiplier – suggested risk sizing factor based on impulse
Grade – A / B / C / X
HTF FVG – BUY / SELL / NONE
This lets you sanity-check the context before pressing the button, not after the loss.
Recommended Use
Instrument: XAUUSD
Timeframe: 5m (scalping / intraday), but can be tested on 15m/1H as well
HTF: 1H by default (can experiment with 4H)
Focus on:
Grade A/B only
Strict mode ON for more institutional, fewer but higher-quality trades
Size up only when both impulse and volatility are supportive
Disclaimer
This script is a decision-support tool, not financial advice and not a guarantee of profit.
Always forward-test, understand the logic, and use your own risk management.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode gerenciar suas escolhas de bate-papo. Por favor, abra suas Configurações do perfil
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode gerenciar suas escolhas de bate-papo. Por favor, abra suas Configurações do perfil
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.