Jeff,
If you are indeed normalizing the request price down to one tick and the instrument's tick-size is 0.00001, then it's an issue with your broker.
yes but why the pending are ok (in the first EA). i created another EA yesterday, with pendings (just to see), and the trades are also rounded to 0.00005, unlike the first EA...
this is really strange, it's like i'm doing something wrong but i don't know what (i'm not rounding entry prices, right)
1 2010.07.19 00:00 sell stop 1 0.01 1.52915 0.00000 0.00000 0.00 1000000.00 2 2010.07.19 00:00 sell 1 0.01 1.52915 0.00000 0.00000 0.00 1000000.00 3 2010.07.19 00:00 sell stop 2 0.01 1.52895 0.00000 0.00000 0.00 1000000.00 4 2010.07.19 00:00 sell 2 0.01 1.52895 0.00000 0.00000 0.00 1000000.00 5 2010.07.19 00:19 sell stop 3 0.02 1.52875 0.00000 0.00000 0.00 1000000.00 6 2010.07.19 00:19 sell 3 0.02 1.52875 0.00000 0.00000 0.00 1000000.00 7 2010.07.19 00:20 sell stop 4 0.02 1.52855 0.00000 0.00000 0.00 1000000.00 8 2010.07.19 00:20 sell 4 0.02 1.52855 0.00000 0.00000 0.00 1000000.00 9 2010.07.19 00:21 close 4 0.02 1.52840 0.00000 0.00000 0.30 1000000.30 10 2010.07.19 00:21 close 3 0.02 1.52840 0.00000 0.00000 0.70 1000001.00 11 2010.07.19 00:21 close 2 0.01 1.52840 0.00000 0.00000 0.55 1000001.55 12 2010.07.19 00:21 close 1 0.01 1.52840 0.00000 0.00000 0.75 1000002.30 13 2010.07.19 00:21 sell stop 5 0.02 1.52835 0.00000 0.00000 0.00 1000002.30 14 2010.07.19 00:21 sell 5 0.02 1.52835 0.00000 0.00000 0.00 1000002.30 15 2010.07.19 00:21 close 5 0.02 1.52840 0.00000 0.00000 -0.10 1000002.20
Jeff
![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
hi
i'm designing an EA and the prices are not precise but rather rounded to 0.00005
but when i use the exact same algorithm (i'm virtualizing an EA) but with pending orders, then all is fine :
see ? no rounding to 0.00005
what's going on ??
thanks for help
Jeff