Skip to content
Algo Trade Analytics Docs

chart.bg_color - Pine Script Variable

Returns the color of the chart’s background from the “Chart settings/Appearance/Background” field. When a gradient is selected, the middle point of the gradient is returned.

color

input