Boll = color.black
if close[0] > high[30]
Boll := white
else if close[0] < low[30]
Boll := blue
else
Boll := brown
SqueezeExpand = color.white
if Boll == color.white and Boll1 == color.white and Boll2 == color.white and Boll3 == color.white Boll4 == color.white
SqueezeExpand := green
else if Boll == color.blue and Boll1 == color.blue and Boll2 == color.blue and Boll3 == color.blue Boll4 == color.blue
SqueezeExpand := red
else
SqueezeExpand := color.gray
The undeclared identifier starts when I try to make Boll == white/blue/brown in an if condition alongside other conditions.