Yes.
Marco vd Heijden:
Yes.
Yes.
Ok, but is there a formule or I need to write a code?
double profit; if(!OrderCalcProfit(ORDER_TYPE_BUY,_Symbol,lots,price_open,price_close,profit) Print("error: ",GetLastError());Returns the profit/loss in account's currency. And price_close should be your take profit or stop loss price.

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
Is there any MQL5 code to return the finance value (money) of TP and SL position?