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!
See more
See less

Partner 728x90

Collapse

Change default sounds at runtime

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

    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.

    #2
    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.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Board game geek, 10-29-2023, 12:00 PM
    15 responses
    312 views
    0 likes
    Last Post givemefood  
    Started by notenufftime, Today, 07:09 PM
    0 responses
    3 views
    0 likes
    Last Post notenufftime  
    Started by fingers, 12-15-2023, 08:44 AM
    8 responses
    186 views
    0 likes
    Last Post notenufftime  
    Started by PapaKurt, Today, 06:40 PM
    0 responses
    5 views
    0 likes
    Last Post PapaKurt  
    Started by janx05, 01-27-2023, 12:28 PM
    8 responses
    71 views
    0 likes
    Last Post linkcou
    by linkcou
     
    Working...
    X