Handling irregularities between broker session times during holidays

 
I have this experimental forex ea of mine running for the last 10 months.

The ea runs on accounts of two different brokers. A must.

During the holidays end of last year the ea was running as usual.

Checking the charts I noticed something worrisome many indications (and actions) were completely different between the two ea's.

The reason one broker closed trade (and quotes) earlier than the other.

During these times the prices made some relative large moves which completely skewed moving averages and alike.

I am told that these sort of situations are indistinguishable for ea's even with mql5's calendar holiday type.

How can these situations be handled best without manually monitoring and intervening?
 
João Cavalcante: The reason one broker closed trade (and quotes) earlier than the other.
Worse than you think.
 
William Roeder:
Worse than you think.

Thanks for your reply.

The ea does take into account the session times (SymbolInfoSessionQuote/Trade).

For the situation described above according to the session times the market was open however it wasn't open.

SymbolInfoSessionTrade returned the market was open but only when a order was placed (OrderOpen) "Market Closed" was returned.

This has only occurred during the holidays end of last year and it not related to the h4 candle issue, timezone or dst.