
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
Dear all,
So i'm pretty new to MQL5 and are trying to learn the language,
What i'm trying to do is that i have pending orders with SL and TP being executed OnInit()
What i needed is that if the pending order were closed due to hitting SL, i want to retrieve the price of that particular order.
so i tried this in the strategy tester
but it return only the LAST order when it ran.
Say i have 5 pending orders
So i only get 1.063 even if Order Number 3 (Priced at 1.043) was closed due to stop loss.
Any Help ?