Colors

TradersYard X Script provides you with the following commands for defining colors and making color changes to the chart:

BarColor Color of a bar

BackColor Background color of the chart

BackColorAll Background color of the chart and all panels

Chart.UpColor Color of upticks (up bars) Chart.DownColor Color of downticks (down bars)

For each bar, its colors are saved in the following data series. If these data series are written in, the color of the referenced bar will change.

BarColorSeries

CandleOutlineColorSeries

BackColorSeries

BackColorAllSeries

Last updated