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

 

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?

Reason: