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

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 pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    148 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,283 views
    0 likes
    Last Post Leafcutter  
    Working...
    X