I have a swing high/low indicator which plots a dot on swing points. Like the NinjaTrader indicator it allows the user to set the number of bars it will count before it plots a dot.
However it does not draw a dot on the chart when there is a candlestick which is equally priced next to it. The reason the indicator doesn't mark it is because the bar is not the 'HIGHEST' bar within a certain range, it is one bar which is matched in price by another bar.
I have taken a screenshot and annotated it to show the point.
Is there a way somebody can modify the script to prevent this problem? I have a .cs file and a .dll file.
Any help would be greatly appreciated.
Kind regards.
Comment