Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 15:42:40 +0000



[User Discussion] - Doji Bar Color

View Count: 1147

[2018-10-23 12:34:18]
chart_warrior - Posts: 96
I would like to know how the doji bar color is determined. Maybe not specifically a Sierra question but I hope someone can clarify this.

Why some dojis are green and some red if they open and close at the same price?
From what I can tell if the bar before it is green and doji open/close is the same or higher then the doji itself will be green. Same for the red.
Is there anything else I'm missing? Screenshot attached
Date Time Of Last Edit: 2018-10-23 12:36:23
image2018-10-23_8-35-49.jpg / V - Attached On 2018-10-23 12:36:14 UTC - Size: 49.46 KB - 294 views
[2018-10-23 13:50:48]
Sawtooth - Posts: 4001
The coloring of an up price bar is persistent [green] until the current Open is less than the current Close, OR the current Open equals the current Close and the current Open is less than the previous Close.

The coloring of a down price bar is persistent [red] until the current Open is greater than the current Close, OR the current Open equals the current Close and the current Open is greater than the previous Close.

The spreadsheet formula here matches the coloring of up and down price bars:
Spreadsheet Example Formulas and Usage: Determining Slope or Direction

Since this involves a persistent variable, you would need to use a spreadsheet study to accurately alert on a change of color.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account