Login Page - Create Account

Support Board


Date/Time: Wed, 22 Jan 2025 23:49:58 +0000



Post From: Doji Bar Color

[2018-10-23 13:50:48]
Sawtooth - Posts: 4159
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.