Alrighty,
I think it is getting there but as someone pointed out above, it does not reopen any new positions whilst ever it still has that '5th' one still open - see screen shot.
Also I was only able to backtest with MM set to true. Setting it to false resulted in error messages in journal (EURUSD,Daily: OrderSend error 131).
OxFx1.2 MM20%.gif
You can see from screenshot that there conditions where a short position should have been opened.