Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hiding Strategy Specific Indicators From Use Outside the Strategy

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

    Hiding Strategy Specific Indicators From Use Outside the Strategy

    I'm implementing a strategy that uses numerous custom indicators that I have purpose built just for strategies. These don't display on a chart but just return values based on their individual uses. It provides a convenient way to keep my indicator codes separate from the strategy.

    So my question is: Is there a way to make these indicators inaccessible? That is, when I load a chart and go to add indicators, I don't want to see my strategy specific indicators in the list. I wan't them available to the strategy only.

    Thanks

    #2
    Hello RandomTask,

    Thank you for your post.

    The only current solution I'm aware of would be to use a namespace/folder for your custom indicators. They should then show up in a single folder in the list and not clutter up the rest of your indicator list. There would not be a way to hide them from the list otherwise at the current time.

    However, I have added a vote for you to a current feature request for an an IsCodeOnly property for indicators which would designate the script to be hidden from the GUI but available to other NinjaScript files that can call indicators. This request is being tracked under the number SFT-3027.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Thank you. The isCodeOnly would be a perfect solution.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      80 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      64 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X