Difference between revisions of "EntryName"

From MultiCharts
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Returns the name of the order which opened the position.  
 
Returns the name of the order which opened the position.  
 
   
 
   
http://www.buyxanaxonlinepill.com/ order xanax - buy xanax online
+
== Usage ==
 +
<syntaxhighlight>EntryName(PosBack)</syntaxhighlight>
  
http://www.buyxanaxonlinepill.com/ purchase xanax online - xanax no prescriptions
+
Where:  
  
== Example ==
+
: <code>PosBack</code> - a numerical expression, specifying the number of trade (zero-based).
<syntaxhighlight>
+
: 0 - open position;
EntryName(1);</syntaxhighlight>
+
: 1 - one position back (the last position closed);
 +
: 2 - two positions back, etc.
  
Will return "EL Limit" if the entry name for the previous position was "EL Limit".
+
== Notes ==
+
If <code>PosBack</code> is not specified, a value for the open position will be returned.
[[Category:Strategy Position Trades]]
+
 
 +
== Example ==
 +
<syntaxhighlight>EntryName(1);</syntaxhighlight>
 +
 
 +
will return a value of "buy LE" for the last closed position, if this position was opened by the order with "buy LE" name.  
 +
 
 +
[[Category:Strategy Position]]

Latest revision as of 13:36, 24 February 2012

Returns the name of the order which opened the position.

Usage

EntryName(PosBack)

Where:

PosBack - a numerical expression, specifying the number of trade (zero-based).
0 - open position;
1 - one position back (the last position closed);
2 - two positions back, etc.

Notes

If PosBack is not specified, a value for the open position will be returned.

Example

EntryName(1);

will return a value of "buy LE" for the last closed position, if this position was opened by the order with "buy LE" name.