for (....) { OrderSelect(.....); if (OrderSymbol() == Symbol()) { // then do whatever you want } }
hi qjol,
i am an absolute beginner in mql4 and try to learn but this seems to be more difficult. i would be very happy if you help me with that:
here is a very simple indicator which plays a sound x minutes before a bar closes. could you please show me how to implement this order-check?
the indicator should only play a sound if a trade is currently running in that pair. because this indicator is easy for me to understand i think i can also understand how to work with the order-check-process then.
thank you again for your help!!!
Files:
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 forum,
i have an indicator which shows an alert when EMA5 crosses EMA10. but this alert should only pop up when a trade is running in that pair.
can somebody please show me how to check if a trade is currently running?
i tried it with ORDERSYMBOL(), ORDERTOTAL() but i have no idea how to do it.
thank you!!!