Navigation: Realtest Script Language > Syntax Element Details >

EndOfMonth

 

 

 

 

Category

Bar Data Values

Description

Indicates whether this bar is the last bar of its month

Notes

Returns 1 for the last bar of a month, otherwise 0.

Note that this function operates on the unified date list for all symbols in the current data file by default, or the date list of the CalendarSym if specified.

To check whether the current bar is the last bar of the month for a specific symbol, use Month[-1] <> Month.

To work correctly when generating tomorrow's orders or using negative (future) offsets, a HolidayList should also be provided.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC