DAY

Syntax

AggregationPeriod.DAY

Description

Defines aggregation period equal to one day (86,400,000 milliseconds).

Example

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

This example script draws the daily Close price plot. Note that aggregation period used in this example cannot be less than chart aggregation period.

See also GetAggregationPeriod function in the Others section.