Navigation: Realtest Script Language > Syntax Element Details > EndDate (Setting) Category Settings Description The last date to include in a scan Choices Date Constant - a literal date Latest - always use the most recent available date Notes If a date range is not specified in a script then the dates from the Settings Panel will be used. To get the most recent N bars, use EndDate: Latest with NumBars but no StartDate. Copyright © 2020-2025 Systematic Solutions, LLC