Chart Color Candle doesn't work...

 

Sir,

I want to change this Colour Candles but it doesn't work to changing this colour candles

int OnInit()
  {
 ChartSetInteger(0,CHART_SHOW_GRID,false);
 ChartSetInteger(0,CHART_MODE,CHART_CANDLES);
 ChartGetInteger(0,CHART_COLOR_BACKGROUND,clrBlack);
 ChartGetInteger(0,CHART_COLOR_FOREGROUND,clrWhite);
 ChartGetInteger(0,CHART_COLOR_CANDLE_BULL,clrWhite);
 ChartGetInteger(0,CHART_COLOR_CHART_UP,clrWhite);
 ChartGetInteger(0,CHART_COLOR_CANDLE_BEAR,clrRed);
 ChartGetInteger(0,CHART_COLOR_CHART_DOWN,clrRed);
}

Please see this photo

https://charts.mql5.com/38/211/btcusd-m1-exness-technologies-ltd.png

 

Do you know the difference between "Set" and "Get"?

int OnInit()
  {
   ChartSetInteger(0,CHART_SHOW_GRID,false);
   ChartSetInteger(0,CHART_MODE,CHART_CANDLES);
   ChartGetInteger(0,CHART_COLOR_BACKGROUND,clrBlack);
   ChartGetInteger(0,CHART_COLOR_FOREGROUND,clrWhite);
   ChartGetInteger(0,CHART_COLOR_CANDLE_BULL,clrWhite);
   ChartGetInteger(0,CHART_COLOR_CHART_UP,clrWhite);
   ChartGetInteger(0,CHART_COLOR_CANDLE_BEAR,clrRed);
   ChartGetInteger(0,CHART_COLOR_CHART_DOWN,clrRed);
  }
 
Fernando Carreiro #:

Do you know the difference between "Set" and "Get"?

Thank you sir,

It is woring ...

But I Wronged this "ChartGetInteger"