I want to make sure that there are at least 4 bars that have passed since the previous variable that was defined.
For example, if I find a swing low that occurred 2 bars ago and I name that "SL1" then I want to make sure that there are at least 4 bars that pass before it starts searching for the next swing low that would be called SL2.
Could you tell me how I could accomplish this?
I have looked specifically under BarsPeriod and GetBar but I am not too sure that those are correct.
Comment