Download MetaTrader 5

Profit

Gets the amount of current profit of the position.

double  Profit() const

Return Value

Amount of current profit of the position (in deposit currency).

Note

The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods.


Updated: 2015.12.03