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 NTEducationTeam, Yesterday, 08:49 AM
    0 responses
    27 views
    0 likes
    Last Post NTEducationTeam  
    Started by saltminer, 07-07-2025, 01:43 PM
    1 response
    79 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by idude, 07-08-2025, 05:06 AM
    0 responses
    40 views
    0 likes
    Last Post idude
    by idude
     
    Started by music_p13, 07-05-2025, 11:33 PM
    1 response
    49 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by gubbar924, 03-18-2018, 05:15 PM
    43 responses
    5,506 views
    0 likes
    Last Post ESMC377
    by ESMC377
     
    Working...
    X