can someone help a addchartbubble at the last candle for ATR? I wrote the following code but it did not add bubble on the last canlde
input ATRLength = 14;
plot ATR = reference ATR(ATRLength, averageType = AverageType.wilders);
AddChartBubble(yes, ATR, round(ATR,2),color.cyan,yes);
input ATRLength = 14;
plot ATR = reference ATR(ATRLength, averageType = AverageType.wilders);
AddChartBubble(yes, ATR, round(ATR,2),color.cyan,yes);
Last edited by a moderator: