I tested on MultiCharts64 Version 8.8 Release (Build 9189).
It seems that PositionProfit(0) always returns 0.
Is PositionProfit(0) = OpenPositionProfit ? [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Is PositionProfit(0) = OpenPositionProfit ?
Hello Francis,
PositionProfit is not the same as OpenPositionProfit.
PositionProfit - Returns a numerical value, indicating the total realized profit or loss for the specified closed position.
OpenPositionProfit - Returns a numerical value, indicating the current unrealized profit or loss for the open position.
PositionProfit is not the same as OpenPositionProfit.
PositionProfit - Returns a numerical value, indicating the total realized profit or loss for the specified closed position.
OpenPositionProfit - Returns a numerical value, indicating the current unrealized profit or loss for the open position.
Re: Is PositionProfit(0) = OpenPositionProfit ?
Then, has the following changed now?
Now, PositionProfit(0) has no meaning and always return 0 ?
1. Forum
viewtopic.php?f=1&t=7594&hilit=positionprofit#p34658
There is no difference between OpenPositionProfit and PositionProfit(0). They return the same values.
2. Multicharts 5.5 User Guide
PositionProfit (0) will return a value of 5 if the value of the open position has increased by $5
since it was entered
Now, PositionProfit(0) has no meaning and always return 0 ?
1. Forum
viewtopic.php?f=1&t=7594&hilit=positionprofit#p34658
There is no difference between OpenPositionProfit and PositionProfit(0). They return the same values.
2. Multicharts 5.5 User Guide
PositionProfit (0) will return a value of 5 if the value of the open position has increased by $5
since it was entered
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Is PositionProfit(0) = OpenPositionProfit ? [SOLVED]
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.
I have also updated the Wiki and prebuilt chm file. The updated chm will be included into MultiCharts 9.0 Release.
I have also updated the Wiki and prebuilt chm file. The updated chm will be included into MultiCharts 9.0 Release.