hide_on_daily

Syntax

declare hide_on_daily;

Description

Hides a study on charts with aggregation periods equal to or greater than 1 day.

Example

declare hide_on_daily;

plot SMA = average(close);
SMA.AssignValueColor(GetColor(secondsFromTime(0) / 3600));

This study plots SMA of Close price and assigns a different color to the plot each hour. Due to declaration, this study will be hidden on daily charts.