0xA0B1 FX5:
The code below triggers a warning called:
expression has no effect FX5.mq5 547 64
However FX5_CloseAll() may close all orders and positions, and if it did so, line 547 will become relevant.
Warning points directly to where the problem is. Change line 547 to:
if (OrdersTotal() + PositionsTotal() == 0) minigrid_check = 0;
Ooops, thx, must have been blind lol
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
Edit: Was my bug, sry !
---
The code below triggers a warning called:
expression has no effect FX5.mq5 547 64
However FX5_CloseAll() may close all orders and positions, and if it did so, line 547 will become relevant.