I'm trying to code a condition that follows the same condition, but I don't know how to let NT7 calculate it over X(let's say 10) bars.
For instance:
if a Close[1] < SMA(20)[1] and Close[0] > SMA(20)[0] after this happens I want the startegy to execute on the same condition if it occurs again 'withinin 10 bars. How would I code that?
Comment