After trying to put it into a few custom indicators which were working otherwise, I wanted to see if it worked and just left it in the OnBarUpdate() section without any qualifiers to see if it would make a noise with a new bar but no luck.
protectedoverridevoid OnBarUpdate()
{
PlaySound(@"C:\Program Files (x86)\NinjaTrader 6.5\sounds\Alert1.wav");
}
It seems to make the chart that I apply it to hang also (the bartimer stops).
Any help would be appreciated.
Comment