I was backtesting some ideas on daily candles. I wanted to check first of all the results when strategy closes all trades on the same candle it entered it (I use buy/sell-stop orders to enter position).
When I apply:
protected override void Initialize()
{ ExitOnClose = true; }
Nothing happens. Strategy makes 1 trade and doesn't close it.
I use internal $EURUSD symbol and free daily data from Kinetick.
Also, as far as I understood ExitOnClose works "at the close of the session", but how would I alternatively achieve to close position at the end of the same (any time-frame) bar I entered position?
Thank you.

Comment