I am developing an strategy that draws text, color bars and draws triangles (up or down), when conditions are met and works ok.
The problem is that it should also alert. but this method does not work...
BarBrush = Brushes.Fuchsia;
CandleOutlineBrush = Brushes.Fuchsia;
Draw.TriangleDown(this, @""+CurrentBar, true, 0, (High[1] + (20 * TickSize)) , ColorDown);
Alert("", Priority.High, "Entry Short", mySoundFile, rearmAlertInSeconds, Brushes.Black, Brushes.Crimson);
Draw.Text(this, "" + CurrentBar, true, @"40", 1, High[1] + 6 * TickSize , 0, ColorDown, largeFont, TextAlignment.Center, Brushes.Transparent, Brushes.Transparent, 0);
Any idea why Alert does not work?
Thanks
Comment