Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change default sounds at runtime

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • marcus2300
    replied
    Originally posted by NinjaTrader_BrandonH View Post
    Hello pjsmith,

    Thanks for your post.

    There are no documented or supported methods or properties available for changing the sounds located in the Tools > Options > General tab.

    This could be accomplished by using unsupported code, such as "NinjaTrader.Core.Globals.GeneralOptions.Sound Orde rFilled " and assigning a string fileName for the .wav file to the unsupported property.

    Note that we cannot assist with the use of any unsupported code and it would be up to your discretion to use this in your script.

    Please let me know if I may assist further.
    Can I select somewhere a sound for each announcement that is added in the log file screen? I want to be warned if latency is very high. I can see it in the window of the log file, but I want to hear a sound. I cannot watch all the time the log window as I am trading.

    Click image for larger version

Name:	afbeelding.png
Views:	40
Size:	50.4 KB
ID:	1312721

    Leave a comment:


  • NinjaTrader_BrandonH
    replied
    Hello pjsmith,

    Thanks for your post.

    There are no documented or supported methods or properties available for changing the sounds located in the Tools > Options > General tab.

    This could be accomplished by using unsupported code, such as "NinjaTrader.Core.Globals.GeneralOptions.SoundOrde rFilled " and assigning a string fileName for the .wav file to the unsupported property.

    Note that we cannot assist with the use of any unsupported code and it would be up to your discretion to use this in your script.

    Please let me know if I may assist further.
    Last edited by NinjaTrader_BrandonH; 05-04-2023, 08:07 AM.

    Leave a comment:


  • pjsmith
    started a topic Change default sounds at runtime

    Change default sounds at runtime

    Hello,

    Is there any way to change the default sounds at run time? For example, if I wanted to remove or change the wav file for an order filled, but do this in code? I did have a poke around, but I don't see any exposed properties so far for this.

    Thanks.

Latest Posts

Collapse

Topics Statistics Last Post
Started by DayTradingDEMON, Today, 02:10 PM
0 responses
3 views
0 likes
Last Post DayTradingDEMON  
Started by NISNOS69, Yesterday, 03:16 PM
2 responses
22 views
1 like
Last Post NISNOS69  
Started by several, 03-18-2025, 03:53 AM
10 responses
146 views
1 like
Last Post ntwong
by ntwong
 
Started by Marble, Yesterday, 05:00 AM
5 responses
27 views
0 likes
Last Post NinjaTrader_Gaby  
Started by ronniecorrigan, 03-17-2025, 02:34 PM
15 responses
56 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X