OpenEntryProfitPerContract: Difference between revisions
From MultiCharts
(Created page with "Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars. ==== Usage ==== <syntaxhighlight>OpenEntryProfitPerContract(...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars. | Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars. | ||
== Usage == | |||
<syntaxhighlight>OpenEntryProfitPerContract(EntryIndex)</syntaxhighlight> | <syntaxhighlight>OpenEntryProfitPerContract(EntryIndex)</syntaxhighlight> | ||
Where: | Where: | ||
:'''EntryIndex''' - a numerical expression, specifying the number of trade (zero-based). | |||
To retrieve the total number of trades in open position use [[OpenEntriesCount]] | == Notes == | ||
* This function can only be used in signals. | |||
* To retrieve the total number of trades in open position use [[OpenEntriesCount]]. | |||
* Use [[OpenEntryProfit]] to get the open profit for the whole position. | |||
[[Category:Strategy Position Trades]] | [[Category:Strategy Position Trades]] |
Latest revision as of 09:29, 9 February 2012
Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars.
Usage
OpenEntryProfitPerContract(EntryIndex)
Where:
- EntryIndex - a numerical expression, specifying the number of trade (zero-based).
Notes
- This function can only be used in signals.
- To retrieve the total number of trades in open position use OpenEntriesCount.
- Use OpenEntryProfit to get the open profit for the whole position.