Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Use existing chart indicators

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

    Use existing chart indicators

    Hi,

    Is there anyway to use the charts existing indicators values without having to add them on startup in a new custom indicator? If not, Is there a way to get a list of the charts indicators and parameters at load time so they can be added to a new custom indicator? I saw something where you can get a list from ChartControl in OnRender, is there anyway to get the parameters and load them from that list after the indicator starts?

    Thanks,
    Dan

    #2
    Hello Dan,

    From my understanding, OnStateChange() is a method that is specific to NinjaScript that is called for the UI. It would not be possible to get a list of the default values without instantiating each indicator and its not possible to instantiate an indicator from a host script without calling this as a method with specific constructor overload parameters.

    I will submit a feature request on your behalf for a method that returns an instance for each indicator in NinjaTrader with default values without having to create this yourself. Once I have a tracking ID for this request I will post this in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Dan,

      I have received tracking ID# SFT-3794 for this request for a method that returns an instance of all indicators and the default parameters.

      Please note it is up to the NinjaTrader Development to decide if or when any request will be implemented.

      We appreciate your feedback.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

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