Subscripting

See Also

Related Topics

 

 

Aspen Graphics enables you to reference past bars in a formula. To use data from past bars in a formula, you must identify which bar, or period, you want to use.  You include this information in a formula by subscripting (enclosing a positive number in brackets ([n]) one or more instrument constants, variables, or month specifiers.  The syntax for subscripting is:

 

<expression>[integer]

 

The current bar has a reference value of -1. The previous bar has a reference value of 0, and so on.