i am trying to identify a green Heikin ashi candle stick in my strategy but a error keeps showing up whenever i try to compile, here is the code , how do i fix it ? i dont know what is wrong
basically if close > open then draw dot
protected override void OnBarUpdate()
{
// Condition set 1
if ((Open[0] + High[0] + Low[0] + Close[0]) / 4) > ((Open[1] + Close[1]) / 2 );
{
DrawDot("My dot" + CurrentBar, false, 0, Low[0] + -10 * TickSize, Color.Blue);
}
}
Comment