OPEN-SOURCE SCRIPT

Valid Pullbacks and Trend by kpt. Gonzo

已更新
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.
版本注释
Fix external structure algo.
Pivot PointsZig Zag Indicator

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明