microhyd:
Hello traders!
I need help for my code.
I need to get the current order price on the market, according to the ticket ...
This price:
I attach a function that returns the number of the ticket I found here:
*******************************************************
OK, problem solved!!! With this code:
if(OrderSelect(lastTicket, SELECT_BY_TICKET)==true) { Print("order #symbol is ", MarketInfo(OrderSymbol(),MODE_ASK) ); }
Thanks for your time :)
Thank you very much nicholi shen , work it perfectly with "OrderClosePrice()"! :)
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 need to get the current order price on the market, according to the ticket ...
This price:
https://www.mql5.com/en/forum/109180
Thank you very much for replies :)