How disable cbot in weekends
Hi,
if doesn't work change ("zero divide error on fxpro mt4"):
//SELL
//Pips = ((OrderOpenPrice()-OrderClosePrice())/MarketInfo(OrderSymbol(),MODE_POINT))/10;
Pips = ((OrderOpenPrice()-OrderClosePrice())/Point)/10;
// BUY
//Pips = ((OrderClosePrice()-OrderOpenPrice())/MarketInfo(OrderSymbol(),MODE_POINT))/10;
Pips = ((OrderClosePrice()-OrderOpenPrice())/Point)/10;
Hi, i need disable strategy in weekends why this code doesn't work on mt4 in fxpro (I set it on timer and ontick) tooday is Saturday but strategy works ?!
And why create table in mysql doesn't work in mt4 (fxpro) but work in others brokers what is wrong (libs from this article https://www.mql5.com/en/articles/932)?
Thanks for the help!
Bye.