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
Only 1 Order pending and Order filled sound alert
Collapse
X
-
Only 1 Order pending and Order filled sound alert
I am using a unmanaged approach on submitting trades and I have problem on it when I submit an entry order of 3 contracts long or short. I only want that the order pending and order filled sound will play once. Because I submit stops and targets order it will sound again and it's very annoying. Can someone help on this matter? Someone told me that it will be done by unchecking the sounds in the control center but I don't like that idea I still wanna hear the order pending and order filled sounds by entry order and it would never sound again when I tried to submit stops and targets just like using an ATM.Tags: None
-
-
Hello edward_bell,
Thank you for your post.
Unfortunately, there would not be a method to disable the sounds through the code. However, you can manually disable the sounds and then use the PlaySound() method when the order is submitted and/or filled completely.
For information on PlaySound() please visit the following link: http://www.ninjatrader.com/support/h.../playsound.htm
For the orders you can use OnOrderUpdate(): http://www.ninjatrader.com/support/h...rderupdate.htm
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Human#102, Yesterday, 09:54 AM
|
2 responses
7 views
0 likes
|
Last Post
by Human#102
Today, 03:01 AM
|
||
Started by Patlpp, 08-16-2021, 03:10 PM
|
10 responses
498 views
0 likes
|
Last Post
by Joerg
Today, 02:47 AM
|
||
Started by AdamDJ8, 05-07-2024, 09:18 PM
|
2 responses
17 views
0 likes
|
Last Post
by -=Edge=-
Today, 02:24 AM
|
||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
46 responses
4,101 views
3 likes
|
Last Post
by tradgrad
Today, 02:19 AM
|
||
Started by usasugardefender, Today, 01:42 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 01:42 AM |
Comment