I am in need of a line of code to create a filter condition in market analyzer.
It is for the TSSuperTrend indicator, I need the code to tell me when the TSSupertrend plot has plotted the same price or value for at least 5 bars.
the code perhaps would look something like this:
If TSSuperTrend.Set = value or price for at least 5 bars
or something? I just need to set the condition for this indicator when it plots the same price or value for at least 5 bars, not sure what the line of code would be,
any help is greatly appreciated!

Comment