OPEN-SOURCE SCRIPT

Colorise Series

707
Having visibility of where a series is increasing or decreasing can be useful. For example, to see exactly if a moving average is advancing or declining.

This is an indicator on indicator script that will essentially cover (plot over) the source series with the same values, but colored different depending on whether the difference between consecutive values is positive, negative, or neutral.

For this to work cleanly, you may need to hide the source series, if there are colour clashes. By default, we also use a fairly thick line to plot, to show the visual effect more clear

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。