• 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

Can sound files be in subfolders of the Sound folder

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

    Can sound files be in subfolders of the Sound folder

    Can sound files work in subfolders in the Sound folder? Or will they only play if they are placed directly in the Sound folder without being in a subfolder in the Sound folder?

    #2
    As long as your file pathing is correct, sound files within a sub folder of the NinjaTrader 8 > sounds folder will function.
    Patrick G.NinjaTrader Customer Service

    Comment


      #3
      Thanks Patrick for the quick response. What defines the correctness of file pathing? I thought where it was located defined the path. Are you referring to the indicator ninjascript being coded to expect a subfolder on the way to the file? If that is the case, I would think a commercial vendor would only code for a sound file to be placed directly in the Sound folder and therefore one should not expect a subfolder file to be recognized.

      Comment


        #4
        A sound file can exist anywhere on your PC. When manually selecting sounds within NinjaTrader 8, you can search for a file anywhere on your PC. For example, go to Tools > Options and then click on a sound. You'll see a Windows File Explorer window appear which lets you pick a sound file from anywhere on your PC.

        In custom code, you're correct - if the path of the sound file is hard-coded into the NinjaScript, then that file would need to be exactly where the code is pointing to or else it would not function.
        Patrick G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by iq200, 11-09-2019, 08:26 AM
        5 responses
        56 views
        0 likes
        Last Post koganam
        by koganam
         
        Started by johng964, Today, 02:57 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by spamula, Today, 03:00 PM
        2 responses
        16 views
        0 likes
        Last Post spamula
        by spamula
         
        Started by MARTIN MARTIN, Today, 01:01 PM
        0 responses
        16 views
        0 likes
        Last Post MARTIN MARTIN  
        Started by bouncetherubble, Today, 10:21 AM
        2 responses
        21 views
        1 like
        Last Post bouncetherubble  
        Working...
        X