(OrderOpenPrice() - Close[X]) * MarketInfo(Symbol(), MODE_TICKVALUE) * OrderLots()
PS of course it depends if it's a buy or a sell
Adjust it yourself
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
Any idea how to retrieve the order profit/loss at the close of an earlier bar in an EA?