I have a script that I found quite a while ago ( not even sure where I found it ) that shows the daily moving average on the intraday.
Is there a way to have it display the name and value in a bubble like the screenshot attached? If so how?
TIA
The code for the MA script is:
plot Data = close;
# MTF Moving Average
input Period = aggregationPeriod.DAY;
input AvgType = averageType.EXPONENTIAL;
input Length =21;
input priceclose = close;
plot AVG = MovingAverage(AvgType, close(period = Period), Length);
AVG.setdefaultcolor(color.GREEN);
Is there a way to have it display the name and value in a bubble like the screenshot attached? If so how?
TIA
The code for the MA script is:
plot Data = close;
# MTF Moving Average
input Period = aggregationPeriod.DAY;
input AvgType = averageType.EXPONENTIAL;
input Length =21;
input priceclose = close;
plot AVG = MovingAverage(AvgType, close(period = Period), Length);
AVG.setdefaultcolor(color.GREEN);