Difference between revisions of "EntryName"
Jump to navigation
Jump to search
(Created page with "Returns the name of the order which opened the position. ==== Usage ==== <syntaxhighlight>EntryName(TradeNumber)</syntaxhighlight> Where: TradeNumber - a numerical ex...") |
|||
Line 1: | Line 1: | ||
Returns the name of the order which opened the position. | Returns the name of the order which opened the position. | ||
− | + | == Usage == | |
<syntaxhighlight>EntryName(TradeNumber)</syntaxhighlight> | <syntaxhighlight>EntryName(TradeNumber)</syntaxhighlight> | ||
− | Where: | + | Where: |
+ | |||
+ | :'''TradeNumber''' - a numerical expression, specifying the number of trade (zero-based). | ||
− | + | == Notes == | |
− | Same as [[PosTradeEntryName | + | Same as [[PosTradeEntryName]]. |
− | + | == Example == | |
+ | <syntaxhighlight> | ||
+ | EntryName(1);</syntaxhighlight> | ||
+ | |||
+ | Will return "EL Limit" if the entry name for the previous position was "EL Limit". | ||
[[Category:Strategy Position Trades]] | [[Category:Strategy Position Trades]] |
Revision as of 15:48, 27 January 2012
Returns the name of the order which opened the position.
Usage
EntryName(TradeNumber)
Where:
- TradeNumber - a numerical expression, specifying the number of trade (zero-based).
Notes
Same as PosTradeEntryName.
Example
EntryName(1);
Will return "EL Limit" if the entry name for the previous position was "EL Limit".