Wanna join the discussion?! Login to your Discussions forum accountor Register a new forum account.
Hi AMSH,
Your formula, Barssince(cross(C,mov(C,5,e))), will return a value of zero on the bar that the close crosses above the 5 bar EMA.
Cheers,
oz
x0:=cross(C,mov(C,5,e)); x1:=Barssince(x0); x2:=ExtFml("Forum.sum",x1,1); {plot} x2;