Hello,
I'm currently using the inbuilt ZigZagHighLow indicator in ToS. It is designed to detect swing points using price change %. It works for some stocks but doesn't work for others. I am looking for any similar indicators that connect the swing high/low with trend lines and also support looking back n number of bars forward and backward. The closest i came across were these threads
https://usethinkscript.com/threads/...i-retracement-indicator-for-thinkorswim.8091/
https://usethinkscript.com/threads/improving-swing-high-low-indicator.10983/
I got it working (don't need the fib code) but am stuck at the point where i am trying to have the code automatically draw trend lines to connect the swing highs and swing lows to generate the market structure plot instead of the chart bubbles.
Appreciate any advise and pointers to achieve an indicator that is very close to the ZigZagHighLow indicator, draws the market structure plot and accepts lookback and lookforward of n number of bars.
Thanks!!
I'm currently using the inbuilt ZigZagHighLow indicator in ToS. It is designed to detect swing points using price change %. It works for some stocks but doesn't work for others. I am looking for any similar indicators that connect the swing high/low with trend lines and also support looking back n number of bars forward and backward. The closest i came across were these threads
https://usethinkscript.com/threads/...i-retracement-indicator-for-thinkorswim.8091/
https://usethinkscript.com/threads/improving-swing-high-low-indicator.10983/
I got it working (don't need the fib code) but am stuck at the point where i am trying to have the code automatically draw trend lines to connect the swing highs and swing lows to generate the market structure plot instead of the chart bubbles.
Appreciate any advise and pointers to achieve an indicator that is very close to the ZigZagHighLow indicator, draws the market structure plot and accepts lookback and lookforward of n number of bars.
Thanks!!
Last edited: