THIRTY_MIN

Syntax

AggregationPeriod.THIRTY_MIN

Description

Defines aggregation period equal to thirty minutes (1,800,000 milliseconds).

Example

def agg = AggregationPeriod.THIRTY_MIN; 
plot data = close(period = agg);

This example script draws the Close price plot with aggregation period equal to thirty minutes. Note that aggregation period used in this example cannot be less than chart aggregation period.

See the GetAggregationPeriod function in the Others section.