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 Haiasi, 04-25-2024, 06:53 PM
    2 responses
    16 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    5 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,407 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Working...
    X