OPEN-SOURCE SCRIPT
Updated

LTB Zigzag Circles

58826
Hello All,

Today I am here with a new idea and script, "LTB Zigzag Circles". The idea is to create Circles using last 2 zigzag waves and to catch the breakouts earlier than horizontal lines. if a circle is broken then the script shows entry for Long/Short positions. and if broken circle reappears again then the position is closed. You can change Zigzag period as you wish and see the different results.

Here you can see how the script calculates and draws the Circles:
snapshot

Below you can see how the script draws part of the circle on each bar:
snapshot

Optionally the script can show levels:
snapshot


P.S. I haven't tested it as a strategy, Result and Performance may change by Zigzag period, you need to find best Zigzag period according to your strategy. By the way, my Zigzag Circles idea can be improved, if you have any recommendation let me know please ;)


Enjoy!
Release Notes
Added Alerts :)
Release Notes
used round_to_mintick() function
Release Notes
improved

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.