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 xiinteractive, 04-09-2024, 08:08 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Johnny Santiago, 10-11-2019, 09:21 AM
    95 responses
    6,193 views
    0 likes
    Last Post xiinteractive  
    Started by Irukandji, Today, 09:34 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by RubenCazorla, Today, 09:07 AM
    1 response
    6 views
    0 likes
    Last Post RubenCazorla  
    Started by TraderBCL, Today, 04:38 AM
    3 responses
    26 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X