hooshmand wrote >>
Hi
I want to calculate recent loss value in my ea
how can i do this?
i have an idea but it did not work
OrderProfit() can be your friend here :-)
https://docs.mql4.com/trading/OrderProfit
Or, if you need, calculate the current Points of an open Order like:
(Bid-OrderOpenPrice())/Point) for buy or (OrderOpenPrice()-Ask)/Point) for sell
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
Hi
I want to calculate recent loss value in my ea
how can i do this?
i have an idea but it did not work