Navigation: Realtest Script Language > Syntax Element Details >

NumBars

 

 

 

 

Category

Settings

Description

Number of data bars to include in a scan or test

Notes

Use in conjunction with either StartDate or EndDate (but not both) to specify a bar count anchored to a date.

If a date range is not specified in a script then the dates from the Settings Panel will be used.

When BarSize is Daily, NumBars is a count of market days. Otherwise it is a count of weeks or months, depending on BarSize.

Example

This is a convenient way to run a daily scan for live trading candidates:

 

 

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC