Hi
I coded this to sell immediately after so many days:
Sell =
(BarsSince(Buy) >= HoldDays);
In some cases, the backtester does sell
on the next open after my
stipulated number of days but other times it
holds for much longer. I
haven't got any other sell commands. What am I
doing wrong? Should I
code:
Sell = (BarsSince(Buy) = HoldDays)
instead and set trade delay 1?
Thanks