OrderOpenPrice()-OrderClesePrice()
OrderClosePrice()-OrderOpenPrice()
qjol:
OrderOpenPrice()-OrderClesePrice()
OrderClosePrice()-OrderOpenPrice()
what if my order is not closed yet?
then, it's giving u the last Bid/Ask price (don't worry this is the right code)
qjol:
then, it's giving u the last Bid/Ask price (don't worry this is the right code)
:) thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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 to modify my order in som script and I wonder how to actually get profit in points instead of dollars
I want to know what is the simplest way to do this.
OrderProfit()*Point
or
in both sell/buy case use
OrderOpenPrice()-OrderPrice()
OrderPrice()-OrderOpenPrice()
please help me out