Number of data bars to include in a scan or test
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.
This is a convenient way to run a daily scan for live trading candidates: