OpenPositionProfit vs PositionProfit

Questions about MultiCharts and user contributed studies.
smashthepound
Posts: 82
Joined: 20 Jun 2009
Been thanked: 1 time

OpenPositionProfit vs PositionProfit

Postby smashthepound » 27 Jul 2010

Besides the ability to adress the ProfitLoss of previous positions is there any difference between

OpenPositionProfit and
PositionProfit(0) ????

E.g. time of availability of information inside a bar or at the close of a bar?

Furthermore how many previous positions can be referenced by PositionProfit? According to TS documentation this is limited to 10. Is it the same for MC or as always does MC provide greater flexility ?????????

regards

Tobias

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Postby Dave Masalov » 29 Jul 2010

Dear Tobias,

There are no such limitations in MultiCharts. You can reference as many closed positions as you have.

There is no difference between OpenPositionProfit and PositionProfit(0). They return the same values.

Note: The behavior of PositionProfit has been changed in MultiCharts 8.7 Beta 1. Since that version (available since 04/31/2013) PositionProfit returns the value for the closed trades only.

smashthepound
Posts: 82
Joined: 20 Jun 2009
Been thanked: 1 time

Re: OpenPositionProfit vs PositionProfit

Postby smashthepound » 30 Jul 2010

Thanks Dave.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: OpenPositionProfit vs PositionProfit

Postby Dave Masalov » 30 Jul 2010

Dear Tobias,

You are welcome.


Return to “MultiCharts”