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 sjsj2732, Yesterday, 04:31 AM
      0 responses
      22 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      280 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      279 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      130 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      90 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X