OPEN-SOURCE SCRIPT

Valid Pullbacks and Trend by kpt. Gonzo

Mis à jour
This script helps identify valid pullbacks. Based on the marked pullbacks, it can draw both internal and external structure trendlines.

A pullback is marked with a small triangle above or below the candle that created the local high or low.
A new local high is marked with a red triangle above the candle if at least one subsequent candle has a low lower than the low of the candle that created the new local high.
A new local low is marked with a green triangle below the candle if at least one subsequent candle has a high higher than the high of the candle that created the new local low.

Based on the marked local highs and lows, the internal structure trendline is created by simply connecting all highs and lows with a line.

The external structure is drawn in a similar way, but only highs and lows that have broken the previous structure are connected. This helps focus on important pivots and better understand the market structure.
Notes de version
Fix external structure algo.
Pivot PointsZig Zag Indicator

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité