Navigation: Realtest Script Language > Syntax Element Details >







Current Position Information


The date on which this position was entered


The return value is a number in YYYYMMDD format and is the date on which the entry occurred (not the EntrySetup signal day).

For a Weekly or Monthly strategy, this will be the actual entry date (e.g. a Monday if Weekly), not the date of the weekly entry bar, which is always its end date (typically a Friday).

If used as Combined(EntryDate) when multiple positions are open in the same symbol (whether due to pyramiding or multiple strategies), the most recent entry date for that symbol will be returned.

See also BarsHeld.




Copyright © 2020-2024 Systematic Solutions, LLC