I have this code in a strategy to mark when the medium ema value crosses above a slow ema value. The values can be entered in with the user interface..
Code is this where I want to start to do something...
if (CrossAbove(emaMedium, emaSlow, 8))
Does this mean that all 8 bars have to meet this condition all just 1 bar in 8?
But what is happening is It marks a point when emaMedium is below the emaslow when 1 bar has the medium ABOVE the slow....which I don't want to do.
Thanks..

Comment