Lipi Reference
Lipi

Variables

chart.fg_color

A foreground colour that contrasts with the chart's background, for text and lines that must stay readable on both light and dark charts.

Example


          //@lipi=2
indicator("chart.fg_color Example", overlay=true)
plot(talib.sma(close, 20), title="SMA", color=chart.fg_color)
        

Type

input color