EA on unfilled charts

 

hi community,

imagine following scenario.

EURUSD 1H. I close mt4 on WED and open next MONDAY. I have an EA applied to chart. Now i realised a problem on mt4:

if i open mt4 on MONDAY first time; mt4 first apply ea to chart and fills the gap between WED->MONDAY afterwards while ticks are coming. So in case of gap=Open[0]-Close[1] gives me Close[WED-when i closed mt4]-Open[MON-when i open mt4] . This seems to be big problem to me. Is there a way to wait till chart has been filled or detect somehow that chart is incomplete?

regards

Reason: