protected override void OnBarUpdate()
{
if (BarsInProgress != 0)
return;
if (CurrentBars[0] < 1)
return;
// Set 1
if ((Close[0] > Open[0])
&& (Close[1] > Open[1]))
{
Draw.Dot(this, @"Example " + Convert.ToString(CurrentBars[0]), false, 0, High[0], Brushes.CornflowerBlue);
}
}

Comment