I have completed porting one of my custom indicators to NT8, which triggers an Alert when the price crosses either side of an envelope around an SMA.
The indicator works fine, and the Alert is displayed correctly in the Alerts window, however the sound does not play. Here is the relevant line of code:
Alert("xAbove", Priority.High, "Cross above Envelope!", "Alert4.wav", 30, Brushes.Black, Brushes.Red);
Comment