A couple questions:
Can applystop be the only sell signal to generate a basic profit target. Is there a better/correct way to simulate a 5% profit limit sale order.
When I use applystop like below with no other sell conditions in backtesting EOD OHLC data, numerous positions are exited for a loss. All other backtesting settings are kept at default and no other stops are active. Reverse entry forces exit is not checked in settings.
I am not sure why positions would exit for loss with this code instead of remaining open indefinitely. Does having sellprice = close, override ExitatStop = 1
AFL Function Reference - APPLYSTOP
ExitAtStop = 1 - check High-Low prices and exit intraday on price equal to stop level on the same bar when stop was triggered