OPEN-SOURCE SCRIPT
EMA 50 → EMA 200 Hunt Test

This script helps you test the theory below
When price breaks below the EMA 50…
it often goes hunting for the EMA 200.
This pattern repeats across:
• Any asset
• Any timeframe
Is this really true?
So this is what this script does
When price breaks below the EMA 50…
it often goes hunting for the EMA 200.
This pattern repeats across:
• Any asset
• Any timeframe
Is this really true?
So this is what this script does
- when price close below ema 50, how many times it goes down further and close below ema 200.
- after price close below ema 50, on any of further days if it closes above ema 50 without closing below 200 ema, then it goes invalid and we calculate this count, how many sych occurences happens
- after price close below ema 50, on any of further days if it doesn close above ema 50 and closed below 200 ema, we consider its valid and count this occurences
- we need to compare both in table
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.