I am currently having trouble getting the default color of the candle outline (the color set in the chart's 'Data Series' dialog). I'm fairly certain the following has worked for me in the past but it keeps returning an empty color (0, 0, 0) no matter what I try.
I am attempting to store the candle outline color to colorvariable as the first few bars of the chart are plotted like so:
if (CurrentBar < 3)
{
if (ChartControl != null)
{
colorvariable = ChartControl.CandleOutlineColorSeries[0];
}
return;
}
Does ChartControl.CandleOutlineColorSeries[0] return an empty color value for anyone else?
Comment