If you are new to coding in general, it will be pretty complex.
If you have some coding experience then look at MQL4 Trading functions, especially OrdersTotal() and OrdersHistoryTotal().
You'll find examples there.
Also, search for these functions in this forum.
Drazen Penic:
If you are new to coding in general, it will be pretty complex.
If you have some coding experience then look at MQL4 Trading functions, especially OrdersTotal() and OrdersHistoryTotal().
You'll find examples there.
Also, search for these functions in this forum.
If anyone has time to post an example below please feel free to do so.
Cheers, I'll have a look at those links.
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
I want a pending order to replace itself after it has been closed. For example market moves from 0.75000 and opens a buystop, market moves to 0.75200 and I profit 20 pips. How do get that buystop(now a buy limit) to be placed again at 0.75000 upon closing the original one (ie. replace itself over and over everytime it is closed).
Take it easy fellas, I'm new (clearly!). :)
Also please let me know if I have posted in the wrong part, I have never used forums before.