protected override void CalcBar() { if (Bars.Doji(percent, 0)) { Plot1.Set(0, Bars.Close[0]); Alerts.Alert("Doji"); } }