As the following code, if open value < close value then the candle color is red. And if open value > close value then the candle color is green.
I want the candle be white when open value = close value, how can it be done?
By my code, the candle is sometimes red and sometimes green when open value = close value.
Code: Select all
candle1.Style = Steema.TeeChart.Styles.CandleStyles.CandleBar;
candle1.UpCloseColor = Color.Red;
candle1.DownCloseColor = ColorGreen;