I have built a custom indicator utilizing a basic swing strength format and filtering them using ATR, ATR multiplier, and distance from local SMA(high/low).
The indicator plots the first four pivot highs on the $MNQ chart but then after the major drop in price around 12/18, only pivot lows get plotted. I can't seem to figure out why this is the case. Would anybody be willing to look at why this is happening and offer a solution for it? Please ignore the rectangle text box code as it is not plotting how I want it too. The idea is to get the dotted lines to plot at the filtered swing high/lows.

Comment