Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 22:33:41 +0000



Post From: Enhanced Candlestick Coloring?

[2014-02-15 23:36:19]
drywater0 - Posts: 85
SC Support,

Is it possible to implement coloring for the Candlestick graph draw type which takes into account both the Open and Previous Close? What I'm trying to accomplish is best illustrated by example:

(1) Candlestick outline color is determined by comparing Close vs. PrevClose: green for up, red for down, and grey for unchanged.
(2) If Close > Open then body is transparent with no fill color.
(3) If Close < Open then body is filled using the color scheme set in (1).

The result is that the typical Up bar will be a hollow green candlestick and the typical Down bar will be have a red fill for the body. The atypical scenarios are:
(a) Close > PrevClose but Close < Open produce a green bar with the body filled green.
(b) Close < PrevClose but Close > Open produce a red bar with a transparent body.
(c) Close = PrevClose produces a grey bar with transparent body if Close > Open and a grey filled body if Close < Open.

I attach a screenshot for further illustration with the exceptional / atypical days highlighted with a yellow arrow. Many thanks in advance for your help.

imageCandlestick Coloring Example.JPG / V - Attached On 2014-02-15 23:35:33 UTC - Size: 169.32 KB - 515 views