Problem: Sound Alerts built into indicator are not playing when conditional is met.
With the release of NT 8.0.27.1, I am of course aware that X86 has been moved over to Program Files. In the indicator, my current path is:
PlaySound(NinjaTrader.Core.Globals.InstallDir + @"\sounds\MomentumAlert.wav");
Prior to the update, everything was fine. Now they no longer work. I do note that the X86 file is still there, and also that the entire file was copies and moved over. Is there something I need to update in the above line of code?
Specifically the relevant construct is:
{
Draw.ArrowUp(this, "EntryPoint"+CurrentBar, false, 0, Low [0] - (TickDistance * TickSize), Brushes.Yellow); Alert[0] = 7; // yellow up
if (soundAlert == true)
PlaySound(NinjaTrader.Core.Globals.InstallDir + @"\sounds\MomentumAlert.wav");
}
Thanx

JM

... My Bad. Check the Log File...
Comment