TradingView
Trendoscope
2023εΉ΄1月9ζ—₯εˆε‰4ζ™‚57εˆ†

Harmonic Patterns Based SupertrendΒ 

Ethereum / TetherUSBinance

θ©³η΄°

β‹…
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 - tradingview.com/script/LvAtHaha-HSupertrend/

γƒͺγƒͺγƒΌγ‚ΉγƒŽγƒΌγƒˆ

β‹…
Update signature :)

γƒͺγƒͺγƒΌγ‚ΉγƒŽγƒΌγƒˆ

β‹…
Added log scale option
γ‚³γƒ‘γƒ³γƒˆ
Mustermann84
β‹…
Great again Buddy !
Trendoscope
β‹…
@Mustermann84, Thanks my friend :)
kr_technicaltrader
β‹…
may i know what is the optimal settings you recommend?
tyler8910
β‹…
Thank you so much! This is just beautiful
Trendoscope
β‹…
@tyler8910, thanks πŸ‘
theheirophant
β‹…
The harmonics wizard in action! Love to see it mate!
Trendoscope
β‹…
@theheirophant, ha.ha. just experiments. Thanks :)
dinakarmarella
β‹…
Wow this looks much more clearer than previous in taking the trends..Thanks alot sir for the help
Trendoscope
β‹…
@dinakarmarella, thanks πŸ™
champ91
β‹…
Hey
Thank you for this wonderful indicator, which is now the core of my FX strategy
Is there any way to find the right alert combo to trigger when Supertrend lines turn from Red to Green or Green to Red ?
θ©³η΄°