Hides a study on charts with aggregation periods equal to or greater than 1 day.
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.