• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by imalil, Today, 09:46 PM
    0 responses
    1 view
    0 likes
    Last Post imalil
    by imalil
     
    Started by SAITON, Today, 09:03 PM
    0 responses
    1 view
    0 likes
    Last Post SAITON
    by SAITON
     
    Started by suprsnipes, Today, 08:26 PM
    0 responses
    5 views
    0 likes
    Last Post suprsnipes  
    Started by RobertoPaez, Today, 06:47 PM
    0 responses
    7 views
    0 likes
    Last Post RobertoPaez  
    Started by catinabag, Today, 06:45 PM
    0 responses
    4 views
    0 likes
    Last Post catinabag  
    Working...
    X