I apply the slippage with code in the initialize() method within the strategy: Slippage=1;
But, the strategy analyzer applies slippage only when the strategy gets in the market. But, it does not apply it in exits orders as StopLoss or ProfitTarget.
I mean, in a long position i enter 1 tick above entry level, but I exit in the exact price my SL or TP are.
I use unmanaged approach.
Any clue why it’s happening?
Thanks
Comment