Hi, You need to read the Applystop entry in Help/UG. See Scenario 3.
ApplyStop( stopTypeProfit, stopModePercent, 5, 2, 0 ); BR, Joe --- In amibroker@yahoogroups.com, "bistrader" <bistra...@...> wrote: > > Want to exit at NEXT day close when get to 5%. So, if get to 5% today, then > would exit next market day at the closing price. > > I have the following but it exits TODAY and not next day. What am I doing > wrong? > > SetTradeDelays(1, 1, 1, 1); > ApplyStop( stopTypeProfit, stopModePercent, 5, 0, 0 ); >