Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

sounds

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

    sounds

    Hi ... how do I display a list of sounds from the "NinjaTrader 7/sounds" directory in my indicator?

    #2
    Hello,

    Thank you for the question.

    There would not be an easy way to do this if you are trying to search the filesystem for files and list them.

    If you create an enum with pre selected file names this would be much easier as enum's are supported in NinjaTrader to create a drop down with.

    Here is some more information on Enums and an example: http://www.ninjatrader.com/support/f...ad.php?t=66658

    Otherwise if you are wanting to search the installation directory for all sounds the user may have this would be much more complicated as you would need to essentially convert the string names into a format that would be acceptable for the drop down list. I would not be able to support this option as it is fairly complicated. There are various threads on this forum that users have tried to do this in various ways so you could take a look at those threads as well.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    156 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    140 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X