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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.