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
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.