EasyLanguage Reserved Words & Functions
Returns the exit date for the specified strategy position as a DateTime object.
Where Num is a numeric expression representing the number of positions ago (up to a maximum of ten).
This function can only be used in the evaluation of strategies. It does not require an input, however, by using the input Num, you can obtain the specified value from a previous position, up to ten positions ago.
ExitDateTime(2) might return a value of 981022 if the exit date of 2 positions ago was October 22, 1998.