Is it possible to have an EA like indicator where the indicator doesn't execute trades, but does like a backtest of all the ticks until the present. Basically I just want to count the # of times the price goes above a certain price and below a certain price. Those prices, btw, fluctuate all the time. So here's an example of what I want...
looking at the image below: I want to count the # of times the price goes above the red line, but it must first go below the yellow line then back above red to count. Based on this you should count 3 times going above red. Likewise I want the same with blue, but opposite direction. Price also goes below blue 3 times.
Thanks!
looking at the image below: I want to count the # of times the price goes above the red line, but it must first go below the yellow line then back above red to count. Based on this you should count 3 times going above red. Likewise I want the same with blue, but opposite direction. Price also goes below blue 3 times.
Thanks!