All good and fine. The drawn triangles always show up but I have difficulty with the sound files. Sometimes it turns on, more often not.
Looking at the 8 charts I seem to see that whenever a soundfile is being called at the same time by more than one instrument it seems to not play the sound file of either. When there is only one instrument's sound file being triggered in a given minute then it plays okay.
What could cause this non-playing of the sound files and how could I address that?
PS: I use the following line of code to activate the soundfile with "soundFilelong" and "str" (Seconds-to-ReArm) being user-definable:
Alert("myAlert", NinjaTrader.Cbi.Priority.High, "My EMAs", soundFilelong, str, Color.Black, Color.Yellow);
I use that Alert line code because I simply do not know how to use this one
PlaySound(@"C:\mySound.wav");
when I want to tell it also to use Seconds-to-ReArm.
sandman
Comment