I'm also having trouble with historical/live difference. My strategy backtest trades do not happen in live trading. I also use time logic so I ended up reading this thread.
If i read you correctly the issue was that the following statement always returned thrue.
((Instrument.Expiry.Month == 3) && (Time[0].Date.Month != 12 || Time[0].Date.Month != 1 || Time[0].Date.Month != 2 || Time[0].Date.Month != 3))
Thanks
Marco

Comment