OPEN-SOURCE SCRIPT

Label Display Demo

5 373
A label function for display an arbitrary value above or below the chart.
There is no convenient way to display the value of a variable in pinescript. This is most convenient way I found.

It will follow the current bar (the position is calculated with highest/lowest and atr value, as such it will never display over the chart)

In this script we display ATR for the example

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.