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 DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Started by DJ888, 04-16-2024, 06:09 PM
        4 responses
        12 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by terofs, Today, 04:18 PM
        0 responses
        11 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by nandhumca, Today, 03:41 PM
        0 responses
        8 views
        0 likes
        Last Post nandhumca  
        Started by The_Sec, Today, 03:37 PM
        0 responses
        4 views
        0 likes
        Last Post The_Sec
        by The_Sec
         
        Working...
        X