QUARTER

Syntax

AggregationPeriod.QUARTER

Description

The AggregationPeriod.QUARTER constant can be used with some functions to make the data aggregation period equal to one calendar quarter (7,776,000,000 milliseconds). 

Example

def agg = AggregationPeriod.QUARTER; 

plot data = close(period = agg);

The above script plots the close price aggregated on a quarterly basis. Note that this script only works on charts with an aggregation period less than or equal to one quarter.

See also: GetAggregationPeriod function in the Others section.