The drawing of the bar gold is working correctly it seems.
Can someone tell me what is causing this? I can't figure it out
TIA
// Sell setup-Mark day 8 and check if day 8 qualifies for intersection, paint bar gold
if (Close[0] > Close[4]
&& Close[1] > Close[5]
&& Close[2] > Close[6]
&& Close[3] > Close[7]
&& Close[4] > Close[8]
&& Close[5] > Close[9]
&& Close[6] > Close[10]
&& Close[7] > Close[11]
&& Close[8] < Close[12])
{
for (int barsAgo=3;Low[0] <= High[barsAgo];barsAgo++)
{
BarColor = Color.Gold;
}
DrawText("sellsetup8" + CurrentBar, "8", 1,High[0] + 1.40, Color.Red);
}
Comment