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

indicators with Folders

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

    indicators with Folders

    Hi Team,

    I have an indicator inside of a Folder. When I try to create a strategy, using the Strategy builder with this indicator I get an error, telling me that the name of my indicator is not in the context. What can I do to resolve this error?


    Click image for larger version

Name:	2020-12-29_15h19_42.png
Views:	238
Size:	29.7 KB
ID:	1134268

    Thank you

    #2
    Makes no difference whether an indicator is in a subfolder or not.
    I've created strategies that use indicators from subfolders, works just the same

    But from the looks of it, you didn't include the correct namespace
    Did you build it with the strategy builder ? or manually?
    EB Worx
    NinjaTrader Ecosystem Vendor - EB Worx

    Comment


      #3
      Hello Protech,

      Thank you for your post.

      It generally would be possible to use an indicator that's located in a subfolder of the Indicators folder in the Strategy Builder. I suspect you may have made changes directly through the file system to put the indicator in the subfolder. Per our help guide, changes to sub-folders directly through the file system will NOT be reflected in the NinjaScript editor, and doing so will result in issues like you're seeing here. You would need to remove references to the indicator from the Strategy, then move the indicator back out of the sub folder, create a folder within the NinjaScript Editor, then drag and drop the indicator into the newly created sub-folder via the Editor in order for the proper namespace changes to be made to the indicator.



      Please let us know if we may be of further assistance to you.
      Kate W.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,606 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      8 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      4 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      13 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X