ExitName: Difference between revisions
From MultiCharts
(Created page with "Returns the name of the order which closed the position. ==== Usage ==== <syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical exp...") |
No edit summary |
||
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 == | |||
<syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight> | <syntaxhighlight>ExitName(TradeNumber)</syntaxhighlight> | ||
Where: | Where: | ||
:'''TradeNumber''' - a numerical expression, specifying the number of trade (zero-based). | |||
== Notes == | |||
Same as [[PosTradeExitName | Same as [[PosTradeExitName]]. | ||
== 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".