CandleStick Range Chart

 

Hi there all

Please help me with the following. I would like to change my candlestick chart to a candlestick chart range,just as the pictures i have attached. I tried with the following code & i know i need to add more coding to it.

void OnStart()
  {
   long CurrentChart=ChartID();
   
   if(CurrentChart>0)
    {
     bool CurrentChart2=ChartSetInteger(CurrentChart,CHART_WIDTH_IN_BARS,CHART_CANDLES);
    }
    
  }
CandleStick Range 1 Candle Stick Image 2
 
void OnStart()
  {
   long CurrentChart=ChartID();
   
   if(CurrentChart>0)
    {
     bool CurrentChart2=ChartSetInteger(CurrentChart,CHART_MODE,CHART_CANDLES);
    }
    
  }