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
Try this . . .
You should use explanatory variable names and self documenting code. A variable named "parameter" says nothing. Your routine doesn't get any information, it get the open order count. Better:Still it can't be used for pending orders. Best:Use of the magic number and pair filtering is done once in MySelect, not in every orderSelect loop. MyOrdersTotal (does what OrdersTotal() does with filtering My) can select All types and can be used for both open orders and history.
(Whroeder code is on page 1 )
I would like to use this to count Pending orders, although it seems it can check balance etc.
Does anyone know how to put it in to an EA; https://book.mql4.com/appendix/examples eg: tradingexpert.mql4 . I have tried to put it in to it as per below:
If any one could guide me better that would be great. Thanks
(Whroeder code is on page 1 )
I would like to use this to count Pending orders, although it seems it can check balance etc.
Does anyone know how to put it in to an EA; https://book.mql4.com/appendix/examples eg: tradingexpert.mql4 . I have tried to put it in to it as per below: