You don't need custom backtester to do such
things.
BuyPrice = BuyPrice + Slippage:
SellPrice = SellPrice - Slippage;
CoverPrice = CoverPrice + Slippage:
ShortPrice = ShortPrice - Slippage.
When using ApplyStop make sure to switch
"ExitAtStop" argument to false
and it will use prices defined above.
Best regards,
Tomasz Janeczko
amibroker.com
Hello Tomasz,