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
Play beep OnMarketDepth
Collapse
X
-
Can't you just make the wav file consist of a very short beep? When you call PlaySound() it will play whatever is contained in your sound file. If the sound file is a whole 5 minute song it will play the whole thing, but if it is 1 millisecond it will only play for that duration.
-
Thanks Josh
I know, it would be better, but I need to play a very short beep...
Leave a comment:
-
Try creating two separate wav files and using the PlaySound() method?
Leave a comment:
-
Play beep OnMarketDepth
Hi Guys,
following the interesting Josh's SampleMarketDepth script I was trying to reproduce a beep once the last is on the bid side and a different frequency beep once the trade is on the offer side.
I was looking at
Code:public static void Beep ( int frequency, int duration )
Thanks
MB
Sorry Guys Irealized I'm on the wrong sub-forumLast edited by MrBaffalo; 11-18-2007, 09:36 AM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pechtri, 06-22-2023, 02:31 AM
|
10 responses
124 views
0 likes
|
Last Post Today, 12:03 AM | ||
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Yesterday, 08:25 PM
|
||
Started by ScottWalsh, Yesterday, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Yesterday, 07:40 PM
|
||
Started by olisav57, Yesterday, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Yesterday, 07:39 PM
|
||
Started by trilliantrader, Yesterday, 03:01 PM
|
2 responses
22 views
0 likes
|
Last Post
by helpwanted
Yesterday, 07:25 PM
|
Leave a comment: