Difference between revisions of "ExitName"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the name of the order which closed the position. ==== Usage ==== <syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical exp...")
 
Line 1: Line 1:
 
Returns the name of the order which closed the position.  
 
Returns the name of the order which closed the position.  
 
   
 
   
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight>  
 
<syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight>  
  
Where: [[TradeNumber]] - a numerical expression, specifying the number of trade (zero-based).  
+
Where:  
 +
 
 +
:'''TradeNumber''' - a numerical expression, specifying the number of trade (zero-based).  
 
   
 
   
==== Notes ====  
+
== Notes ==  
Same as [[PosTradeExitName(0,TradeNumber).]]  
+
Same as [[PosTradeExitName]].
 
   
 
   
==== Example ====
+
== Example ==
 
+
<syntaxhighlight>
 +
ExitName(1);</syntaxhighlight>
 +
Will return "ES mkt#1" if the exit name for the previous position was "ES mkt#1".
  
 
[[Category:Strategy Position Trades]]
 
[[Category:Strategy Position Trades]]

Revision as of 15:50, 27 January 2012

Returns the name of the order which closed the position.

Usage

ExitName(TradeNumber)

Where:

TradeNumber - a numerical expression, specifying the number of trade (zero-based).

Notes

Same as PosTradeExitName.

Example

ExitName(1);

Will return "ES mkt#1" if the exit name for the previous position was "ES mkt#1".