Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
PlaySound not playing?
Collapse
X
-
In light of information we learned in another thread, I am providing an excerpt from the help guide. Please let us know if there are any other ways we can help.
Originally posted by http://ninjatrader.com/support/helpGuides/nt7/playsound.htm
-
Hello timmbbo, and thank you for your question. When you attempt to play a sound, do you see any output in your log tab? I look forward to assisting further.
Leave a comment:
-
PlaySound not playing?
Hi there, sounds are not working through the PlaySound command. My little program is:
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? ThanksTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Lele2k24, Yesterday, 11:24 AM
|
12 responses
36 views
0 likes
|
Last Post Today, 03:07 PM | ||
Started by RaygunWizzle, Yesterday, 08:52 PM
|
3 responses
11 views
0 likes
|
Last Post Today, 02:50 PM | ||
Started by Tim-c, Today, 08:36 AM
|
4 responses
14 views
0 likes
|
Last Post Today, 02:45 PM | ||
Started by JohnS52, 03-22-2024, 08:06 AM
|
4 responses
28 views
0 likes
|
Last Post
by JohnS52
Today, 02:30 PM
|
||
Started by carnitron, 03-25-2024, 01:59 PM
|
11 responses
53 views
0 likes
|
Last Post
by carnitron
Today, 02:18 PM
|
Leave a comment: