if (EMA(100)[0] > EMA(250)[0] && EMA(250)[0] > EMA(380)[0])
{
if(Close[0] < Low[1])
{
Draw.Diamond(this, CurrentBar.ToString(), true, 0, High[0] + TickSize*8, Brushes.Blue);
}
}
But if I modify it this way it doesn't work and I don't understand why. Can someone explain it to me? Thanks.
if(Close[0] < Low[1])
{
Draw.Diamond(this, CurrentBar.ToString(), true, 0, High[0] + TickSize*8, Brushes.Blue);
}

Comment