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;
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.