+1 888 340 6572

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
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 ====
== Usage ==
<syntaxhighlight>OpenEntryProfitPerContract(EntryIndex)</syntaxhighlight>  
<syntaxhighlight>OpenEntryProfitPerContract(EntryIndex)</syntaxhighlight>  


Where: [[EntryIndex]] - a numerical expression, specifying the number of trade (zero-based).
Where:  


==== Notes ====  
:'''EntryIndex''' - a numerical expression, specifying the number of trade (zero-based).
 
== Notes ==  
This function can only be used in signals.  
This function can only be used in signals.  


To retrieve the total number of trades in open position use [[OpenEntriesCount]]  
To retrieve the total number of trades in open position use [[OpenEntriesCount]].
   
   
==== Example ====  
== Example ==  
   
   
[[Category:Strategy Position Trades]]
[[Category:Strategy Position Trades]]

Revision as of 16:22, 27 January 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.

Example