Loss Calculating
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
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