FOUR_DAYS

Syntax

AggregationPeriod.FOUR_DAYS

Description

Defines aggregation period equal to four days (345,600,000 milliseconds).

Example

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

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

See also GetAggregationPeriod function in the Others section.