Announcement

Collapse
No announcement yet.

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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    546 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X