My first indicator, but I am missing something. Havent figured out how to get the print to console to work, to debug. My bar will not paint with this if else statement. If i comment it out and add the barcolor aqua at the bottom it works. but not in the conditional statement.
protected override void OnBarUpdate()
{/*
if (Close[0] > High[1])
BarColor = Color.Green;
else if (Close[0] < Low[1])
BarColor = Color.Red;
else
BarColor = Color.Gray;
*/
BarColor = Color.Aqua;
}

Comment