...
// Condition set 1
if (Close[0] > Low[0]
&& Close[1] > Low[1]
&& Close[0] == Close[1] + 4 * TickSize)
{
BarColor = Color.Black;
}
// Condition set 2
if (Close[0] < High[0]
&& Close[1] < High[1]
&& Close[0] == Close[1] + -4 * TickSize)
{
BarColor = Color.Black;
}
...
Running this on 6 Range chart marks the correct bars as black. BUT, there are several bars it doesn't mark as defined.
Why?
Thanks.
Comment