I am working on an idea that incorporates your latest shell non-grid code. I'm using the "don't trade during rollover" settings. In the AreWeAtRollover() function I found a small problem for me and anyone not running this on Queen's time. I changed this as everything else (trading hours etc) seems to point to local time and this was the only change needed.
Original (Broker Time)
Code: Select all
ltime=TimeHour(TimeCurrent())*60+TimeMinute(TimeCurrent());
Code: Select all
ltime=TimeHour(TimeLocal())*60+TimeMinute(TimeLocal());