Latest order open price

 

I'm trying to get the price of the latest opened order in mql4.


Plz help

 
  1. You probably do not want “the latest opened order.” You want the latest on the current chart.

  2. Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
              No free help (2017)

    Or pay someone. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum (2018)

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
              No free help (2017)

 
Hello, use  OrderOpenPrice() function. But you need to select order before using  OrderSelect() function. Refer to: https://docs.mql4.com/trading/orderopenprice for more details. 
OrderOpenPrice - Trade Functions - MQL4 Reference
OrderOpenPrice - Trade Functions - MQL4 Reference
  • docs.mql4.com
OrderOpenPrice - Trade Functions - MQL4 Reference
Reason: