Support Board
Date/Time: Tue, 25 Feb 2025 22:58:57 +0000
Post From: How to determine Doji bar color using Range Bars and Numbers Bars study
[2021-04-29 20:07:01] |
TriStar Trading - Posts: 148 |
Sorry, I wasn't very clear. My bad. Thanks for the quick response. You guys are great about that. I'm writing an ACSIL study and my logic needs to be able to determine this: if the previous bar [sc.Index-1] is a doji bar(sc.Open = sc.Close), how can I determine to consider it an up(green) or down(red) bar? Sometimes I see for example a doji that closes at the high and it's a down bar, and sometimes I see a doji that closes at the low and it's a green bar. Is there something relative to the previous bar that determines this coloring? I swear I read something in the doco that explains this coloring logic but I cannot find it again. Thanks! Mike
|