Trying to get a label of Daily ATR on a 5min chart. Still getting 5 min ATR in label. Here is what I have so far:
declare upper;
def agg = AggregationPeriod.DAY;
input lengthDaily = 10;
input averageType = AverageType.Simple;
def ATR = MovingAverage(averageType, TrueRange(high, close, low), lengthDaily);
#ATR.SetDefaultColor(GetColor(8));
AddLabel(yes, Concat("ATR = ", Round(ATR, 2)), Color.CYAN);
Sounds easy and feels like I haven't bumped into the spot where instructions are available. Thanks
declare upper;
def agg = AggregationPeriod.DAY;
input lengthDaily = 10;
input averageType = AverageType.Simple;
def ATR = MovingAverage(averageType, TrueRange(high, close, low), lengthDaily);
#ATR.SetDefaultColor(GetColor(8));
AddLabel(yes, Concat("ATR = ", Round(ATR, 2)), Color.CYAN);
Sounds easy and feels like I haven't bumped into the spot where instructions are available. Thanks