This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Extra Decimal Causing incorrect Orders at 1/10 of intended pips


Back to topics list
avatar
1
Johndafx 2009.08.12 16:14 

Our Broker recently changed qoutes to include an extra place, in particular on the GBP/JPY from 000.00 to 000.000

This has caused EA to place orders at 1/10 of their intended position. ie 120 point stoploss now 12 point, same with other orders. This caused a string of incorrect trades to be placed. Not sure if more is being affected by the change from the broker. We have been running the code successfuly for several years on MT4.

How can this problem be fixed? Is the problem in our coding or is the problem at the brokers end?

How can I code a safety setting that will prevent further errors and incorrect trades if the code is changed again by the broker?

Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets