Hi,

I'm trying to get the stopTypeNBar to work such that on the 3rd day 
(including trade day) after purchasing the share, it will exit on the 
market when it opens.

At the moment, my historical backtest keeps showing an exit price which 
is at the market's high and not the market opening.

This is the line of code which I'm using and I've read and re-read the 
applystop AFL code description but I can't find anything which allows 
me to control the level at which we exit the N-bar stop.

ApplyStop(stopTypeNBar,stopModeBars,2, 1, False, 2);

Reply via email to