Trendoscope

Harmonic Patterns Based Supertrend

Trendoscope Wizard Aktualisiert   
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.

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

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?