Can this be changed to reflect just a 20 TEMA only?
Code:
input price = close;
input averageType1 = {default Simple, Exponential, Weighted, Wilders, Hull};
input averageType2 = {default Simple, Exponential, Weighted, Wilders, Hull};
input length1 =10;
input length2 =20;
def ma1 = MovingAverage( averageType = averageType1,price, length1);
def ma2 = MovingAverage( averageType = averageType2,price, length2);
AddCloud(ma2, ma1, Color.lIGHT_GRAY, Color.pink);
Last edited by a moderator: