I'm fairly new to meta-trader so please excuse me if this is a noob question
I'm currently writing an EA and during the backtesting I continue to have open positions that should float to the next trading day getting closed by the test.
Is there a way to set up the test so that open positions are not closed and posted against your profits?
My current test shows all trades closed for profit except the last 5 which are large ones due to money management filter, so when the test closes those at the end it wipes out my results so I can't get an accurate picture of the drawdown for this EA.
Any help would be greatly appreciated