ChartDirector 6.0 (C++ Edition)
void setColors(int upFillColor, int upLineColor, int downFillColor, int downLineColor);
Configures the colors for candlesticks.
The standard way to color a candlestick is to color it based on whether it is on an "up" or "down" trading session, in which "up" is defined as the closing price higher than or equal to the opening price, otherwise it is "down".
|upFillColor||(Mandatory)||The fill color for "up" trading sessions.|
|upLineColor||(Mandatory)||The line color for "up" trading sessions.|
|downFillColor||(Mandatory)||The fill color for "down" trading sessions.|
|downLineColor||(Mandatory)||The line color for "down" trading sessions.
© 2017 Advanced Software Engineering Limited. All rights reserved.