Difference between revisions of "OpenEntryContracts"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, indicating the quantity of contracts of specified entry order into the open position. ==== Usage ==== <syntaxhighlight>OpenEntryContracts(EntryIn...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Returns a numerical value, indicating the quantity of contracts of specified entry order into the open position.  
 
Returns a numerical value, indicating the quantity of contracts of specified entry order into the open position.  
 
   
 
   
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>OpenEntryContracts(EntryIndex)</syntaxhighlight>  
 
<syntaxhighlight>OpenEntryContracts(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).  
This function can only be used in signals.  
 
  
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]].
 
   
 
   
==== Example ====
+
[[Category:Strategy Position Trades]]

Latest revision as of 09:32, 9 February 2012

Returns a numerical value, indicating the quantity of contracts of specified entry order into the open position.

Usage

OpenEntryContracts(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.