Trendoscope

Harmonic Patterns Based Supertrend

Trendoscope Wizard 已更新   
Extending the earlier implemented concept of Harmonic-Patterns-Based-Trend-Follower, in this script, lets make it work as supertrend so that it is more easier to operate.

🎲 Process
🎯 Derive Zigzag and scan harmonic patterns for last 5 confirmed pivots
🎯 If a pattern is found, bullish and bearish zones are calculated based on parameter Base
🎯 These bullish and bearish zones act as supertrend based on current trade in progress.
🎯 When in bullish mode, bearish zone will only go up irrespective of new pattern forming new low. Similarly when in bearish mode, bullish zones will only come down - this is done to imitate the standard supertrend behaviour.

🎲 Note
Patterns are not created on latest pivot as last pivot will be unconfirmed and moving. Due to this, patterns appear after certain delay - patterns will not be real time. But, this is expected and does not impact the overall process.

Here are few chart captures to demonstrate how it works.


🎲 Settings
Settings are explained in the screenshot below.

版本注释:
Simplified the code. Minor updates to defaults.
版本注释:
Range calculation updated to reflect on entry and stop ratio.
版本注释:
Further simplified by using library -
版本注释:
Update signature :)
版本注释:
Added log scale option

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?