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

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 Waxavi, Today, 02:10 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      13 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by alifarahani, Today, 09:40 AM
      6 responses
      23 views
      0 likes
      Last Post alifarahani  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X