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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。