Indicates the percent of gain or loss of the Nth previous position.

The instruction POSITIONPERF(n) returns: The performance (ratio gain/cost of the position) of the n-th last position closed if n>0 (not including brokerage fees) The performance (ratio gains/cost of the position) of the currently open position if n=0 (not including brokerage fees)

If n is not specified, we suppose that n=0. PositionPerf=PositionPerf(0).

Syntax:

 

Share this