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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        85 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        47 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        67 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X