Protected override void OnBarUpdate ()
{
// Condition enter long
If Close (1)> Ema (10)
EnterLong (DefaultQuantity, " ");
}
Only enter the first bar that the condicion is ok.
But , what I need to do to enter the next 5 following bars with the same condition ?
Thanks, regards.
Comment