STUB: RANGE(yyyymmdd1,yyyymmdd2)

All vectors in StockWiz 5 must be of the same size.

The size for each vector is defined by the RANGE function.

The range can be absolute, for example


or relevant such as


where _LASTDATE is the last date for which there is data in the database and -200 means 200 days before  the _LASTDATE.

You can use the RANGE function multiple times in a formula. The matrix is resized everytime you use it. Please see the INTERPOLATE command for a discussion on the subject of "naturally" missing values and how to deal with them.