OPEN-SOURCE SCRIPT
Gold Chop Meter

What it does
It’s a market quality filter. It does NOT tell you direction.
It tells you when Gold is too compressed/choppy to trust clean expansions.
NORMAL = tradable conditions
CHOP = compressed / messy conditions
NO TRADE (30M BOX) = hard stop (30M is CHOP)
NO TRADE (HTF CHOP) = hard stop (majority of higher TFs are CHOP)
How to read the panel (left → right)
You’ll see:
1H: NORMAL/CHOP | 30M: NORMAL/CHOP | 15M: NORMAL/CHOP | 5M: NORMAL/CHOP | TRADE/NO TRADE
The rules (exact)
If 30M = CHOP → NO TRADE (30M BOX)
This is your strongest filter. Don’t fight it.
If 30M isn’t CHOP, then it checks majority:
Default: 1H + 30M + 15M
If 2 of 3 are CHOP → NO TRADE (HTF CHOP)
If those are not true → it prints TRADE
If 15M is CHOP but 30M is NORMAL, it prints:
“TRADE (CAUTION – 15M CHOP)”
That means: trade smaller, quicker, or wait for cleaner trigger.
Settings you actually need to touch
1) Profile
Auto (by session) = best for most days (it changes the threshold by time window)
NYO / Overnight / London profiles are there if you want to force one behavior.
2) ATR Length (fixed)
Default 4 is good for Gold.
If it’s too sensitive (flips CHOP too often), raise to 5.
If it’s too slow (stays NORMAL when price is dead), drop to 3.
3) Include 5M in majority filter? (default OFF)
OFF = cleaner, less restrictive (recommended)
ON = stricter filter (needs 3 of 4 to be CHOP for “HTF CHOP” but 5M influences the count)
How to use it with your purge strategy (simple playbook)
When it says TRADE
You’re allowed to execute your normal model:
Sweep → displacement / CHoCH → first return → run
When it says TRADE (CAUTION – 15M CHOP)
Still tradable, but:
take A+ only
smaller size
quicker TP, don’t expect runners
demand a cleaner trigger (strong displacement)
When it says NO TRADE
You don’t force entries.
What you do instead:
wait for 30M to flip back to NORMAL
or wait for a clear range break + retest that turns the environment back to expansion
Quick “decision cheat”
30M CHOP? → Stop. No trade.
2/3 HTFs CHOP? → Stop. No trade.
Only 15M CHOP? → Trade, but cautious.
All NORMAL? → Green light.
It’s a market quality filter. It does NOT tell you direction.
It tells you when Gold is too compressed/choppy to trust clean expansions.
NORMAL = tradable conditions
CHOP = compressed / messy conditions
NO TRADE (30M BOX) = hard stop (30M is CHOP)
NO TRADE (HTF CHOP) = hard stop (majority of higher TFs are CHOP)
How to read the panel (left → right)
You’ll see:
1H: NORMAL/CHOP | 30M: NORMAL/CHOP | 15M: NORMAL/CHOP | 5M: NORMAL/CHOP | TRADE/NO TRADE
The rules (exact)
If 30M = CHOP → NO TRADE (30M BOX)
This is your strongest filter. Don’t fight it.
If 30M isn’t CHOP, then it checks majority:
Default: 1H + 30M + 15M
If 2 of 3 are CHOP → NO TRADE (HTF CHOP)
If those are not true → it prints TRADE
If 15M is CHOP but 30M is NORMAL, it prints:
“TRADE (CAUTION – 15M CHOP)”
That means: trade smaller, quicker, or wait for cleaner trigger.
Settings you actually need to touch
1) Profile
Auto (by session) = best for most days (it changes the threshold by time window)
NYO / Overnight / London profiles are there if you want to force one behavior.
2) ATR Length (fixed)
Default 4 is good for Gold.
If it’s too sensitive (flips CHOP too often), raise to 5.
If it’s too slow (stays NORMAL when price is dead), drop to 3.
3) Include 5M in majority filter? (default OFF)
OFF = cleaner, less restrictive (recommended)
ON = stricter filter (needs 3 of 4 to be CHOP for “HTF CHOP” but 5M influences the count)
How to use it with your purge strategy (simple playbook)
When it says TRADE
You’re allowed to execute your normal model:
Sweep → displacement / CHoCH → first return → run
When it says TRADE (CAUTION – 15M CHOP)
Still tradable, but:
take A+ only
smaller size
quicker TP, don’t expect runners
demand a cleaner trigger (strong displacement)
When it says NO TRADE
You don’t force entries.
What you do instead:
wait for 30M to flip back to NORMAL
or wait for a clear range break + retest that turns the environment back to expansion
Quick “decision cheat”
30M CHOP? → Stop. No trade.
2/3 HTFs CHOP? → Stop. No trade.
Only 15M CHOP? → Trade, but cautious.
All NORMAL? → Green light.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.