jngy2k
Member
It is a chart study that shows ATR% label of the past 20 days.
How do I make a column in watchlist ???
How do I make a column in watchlist ???
Code:
input length = 20;
input averageType = AverageType.Simple;
plot ATR = MovingAverage(averageType, TrueRange(high, close, low), length);
AddLabel (yes, "ATR: " + Round((ATR / close) * 100, 1) + "%", Color.WHITE);