With a strengh of 3, I understand the 3 candles to the left and right of the swing high bar have to be "lower", however as per my attached image I can see the high of candle marked "2" is the same high as the swing high bar.
Can someone please direct where in the code I would need to make the necessary changes so that a swing count would be reset in this scenario?
Thank you

Comment