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.
π² 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.
Catatan Rilis:
Simplified the code. Minor updates to defaults.
Catatan Rilis:
Range calculation updated to reflect on entry and stop ratio.
Catatan Rilis:
Further simplified by using library -
Catatan Rilis:
Update signature :)
Catatan Rilis:
Added log scale option
Trial - www.trendoscope.io/trial
Subscribe - www.trendoscope.io/pricing
Telegram: p.trendoscope.io/telegram
Rate us : www.trustpilot.com/review/trendoscope.io
Subscribe - www.trendoscope.io/pricing
Telegram: p.trendoscope.io/telegram
Rate us : www.trustpilot.com/review/trendoscope.io