Navigation: Realtest Script Language > Syntax Element Details >

DayOfWeek

 

 

 

 

Category

Bar Data Values

Description

Numeric code for day of week of this bar

Notes

1=Monday

2=Tuesday

3=Wednesday

4=Thursday

5=Friday

(there are no Saturday or Sunday bars in any known data series)

Negative offsets, e.g. DayOfWeek[-1], can be legitimately used to obtain the weekday of a future bar. This works even if the offset goes beyond the range of the currently loaded data file. For best results when future dates are required, a HolidayList should also be provided.

 

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC