Equilla Formula Language


Returns the label of an exit order of the specified numbered position.


Numeric: (Optional) The position to examine. Omit this parameter or use zero (0) to indicate the current position.
Numeric: (Optional) The index of the exit order to examine. If omitted, the exit order which closed the position is used.


The Position parameter specifies the number of the referenced position relative to the current one. A value of zero (0) identifies the current position, a value of one (1) the previous one. If there are multiple entries per position the entry order can be selected by specifying the Index parameter, the index starts at 1.


Print information about last position's exits
Variable: i; Print( ExitCount( 1 ) + " exits on last position" ); For i = 1 To ExitCount( 1 ) Print ( "Exit " + i, ExitLabel( 1, i ), ExitAmount( 1, i ), ExitPrice( 1, i ), ExitDateTime( 1, i ) );