PositionProfit (Reserved Word)
Returns the current gain or loss of the specified position..
PositionProfit(Num);
Num is a numeric expression representing the number of positions ago (up to a maximum of ten).
Remarks
This function can only be used in the evaluation of strategies. It does not require an input, however, by using the input Num, you can obtain the specified value from a previous position, up to ten positions ago.
Example
PositionProfit(3) returns a value of -1.00 if the third most recent position on a chart had a loss of 1.00.