int barsAgo = (CurrentBar - Bars.GetBar(Time[0].AddSeconds(-30)))+1;
This seems to return the number of bars that happened in the last 30 seconds, by that time the opportunity has passed. I'd like to take it bar by bar and say something like "bar1 was created in 2 seconds, bar 2 was created in 1 second, open trade in the same direction" and scalp a couple of points.
Is there a way to do this?
Comment