Hi

I am using the open week price to generate some lines from it in live trading. What I noticed is that this value is far from the real sometimes. I guess the reason is that I get the wrong tick quote and zorro use this one as the open price. I am using mt4 bridge 1.11. I have not shifted to 1.13 yet tho.

Quote:

BarPeriod = 60;
vars Opw = series(price());
if(hour()==00 and dow()==1) {Opw[0]= priceOpen();}
else {Opw[0]= Opw[1];}


Maybe I could avoid wrong price quotes using


Quote:

if(hour()==01 and dow()==1) {Opw[0]= priceOpen(1);}
else {Opw[0]= Opw[1];}