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 All,
I am trying to do the following code:
and then the another_function is defined by:
int another_function(...) { for(int z=0;z < OrdersTotal();z++) { if(OrderSelect(z,SELECT_BY_POS,MODE_TRADES)==true) { .... return 1
The issue i am getting is that one the "another_function" is called which loops through the order again, once the control comes back to main loop a different order has been selected. So this a known issue? if yes is there anyway to limit the scope of "OrderSelect" to local only?