protected override void Initialize()
{
CalculateOnBarClose = true;
ClearOutputWindow();
}
protected override void OnBarUpdate()
{
Print("On bar close");
PlaySound(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert3.wav");
}
I get the print statement, but not the sound. Furthermore, I'm watching YouTube videos and playing sounds on my computer, so I know that sounds certainly coming out.
Any thoughts? Thanks
Comment