Support

Equilla Formula Language

PositionProfit

Returns the profit from a position.

Inputs

Position
Numeric: (Optional) The position to examine. Omit this parameter or use zero (0) to indicate the current position.

Remarks

The Position parameter specifies the number of the referenced position relative to the current one. A value of zero (0) identifies the current position, a value of one (1) the previous one.

Examples

Display the profit per position
DrawLine( PositionProfit, "Position Profit" );