ExitName: Difference between revisions
From MultiCharts
no edit summary
(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]] |