MakePlays
New member
Code:
# MTF Moving Average
input Period = aggregationPeriod.THIRTY_MIN;
input AvgType = averageType.EXPONENTIAL;
input Length = 50;
input priceclose = close;
plot AVG = MovingAverage(AvgType, close(period = Period), Length);
AVG.setdefaultcolor(color.pink);
Last edited by a moderator: