![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Thats what i told him the very first comment but if he wishes to enter it manually then could be the slippage, stop loss or take profit which in a 5 digit broker, must be multiplied by ten before being used but well we cant know because we havent seen how he is calculating them.
I meant the value you enter in the ea in pips before calculating it into a price.
Well, thanks guys! I did the thing with the 5 digit brokers (treating as if 5th digit was tenths of pips, sort of) and it has begun working much better. There IS one symbol that failed... with the same error. I started opening selling orders using just the Bid value (SL=TP=0), slippage 10 (just testing) and using NormalizeDouble with Digits.
Shouldn't this be foolproof now?
Well, thanks guys! I did the thing with the 5 digit brokers (treating as if 5th digit was tenths of pips, sort of) and it has begun working much better. There IS one symbol that failed... with the same error. I started opening selling orders using just the Bid value (SL=TP=0), slippage 10 (just testing) and using NormalizeDouble with Digits.
Shouldn't this be foolproof now?