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

ADD() indicator with all parameters

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

    ADD() indicator with all parameters

    When we use :

    ADD( indicator_name() )

    from Strategies, indicators added on chart, has only configurable "plot color" and like that.
    When indicator is added with typical way (from Indicators>New) then Indicator shows all available inputs (properties) for user to configure.

    How to achieve same, that when Indicator is added from strategy, had all those inputs available when we open indicators window?

    ( i have also opened another question - https://ninjatrader.com/support/foru...819#post540819 which addresses other approach)
    Last edited by ttodua; 05-08-2018, 09:54 AM.

    #2
    Hello TazoTodua,

    Thank you for your note.

    So I may best answer your question, would you please provide more information on what property specificly you'd like to configure from the strategy for a specific indicator?

    I will answer your other question on that thread when I have an answer.

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Quite simple.

      I have XYZ INDICATOR, which has 40 custom properties.

      I want it to include in Strategy (I mean, in strategy, i use ADD( XYZ() ) ). The indicator is added on chart, but when I open the CTRL+I (indicators window), the properties are not visible, only "Plot" category is visible there).

      So, I want there were all properties available, as If I've added that indicator with default way.

      I dont want to manually copy paste those 40 properties in every strategy I make.. Instead, I want to configure them from Indicators window, like I do for a typical indicators.

      I am sure there is everything clear for you to understand now.

      btw, I have looked in inner logic (in NinjaTrader/GUI/Chart/ChartIndicators) class, and I see :
      if(indicatorBase.Strategy == null)
      {
      ..
      indicatorBase2.showProperties = (indicatorBase.Strategy == null);
      ...
      }
      so, i assume that is the reason that indis added from strategy doesnt show the properties.
      so, i want a help from you, as i cant change `showProperties` to true from my strategy

      Comment


        #4
        Hello TazoTodua,

        Within each strategy you would need to add the user inputs which you'd pass to the indicator within the script. There is no supported means of not having to add these to each script.

        If you are able to find an unsupported means of accomplishing this I'm sure the community would be interested in seeing your approach.

        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          and you will surely agree with me that it's quite inconvenient.

          My indicator has 40 input fields. I have to add all those inputs each and again in every my strategy? very very inconvenient.

          please, open a support ticket (for NT8) to be this feature available.. thanks.

          Comment


            #6
            Hello TazoTodua,

            I will put in a feature request.

            Thank you for the suggestion.

            Please let us know if you need further assistance.
            Alan P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Christopher_R, Today, 12:29 AM
            0 responses
            7 views
            0 likes
            Last Post Christopher_R  
            Started by sidlercom80, 10-28-2023, 08:49 AM
            166 responses
            2,235 views
            0 likes
            Last Post sidlercom80  
            Started by thread, Yesterday, 11:58 PM
            0 responses
            3 views
            0 likes
            Last Post thread
            by thread
             
            Started by jclose, Yesterday, 09:37 PM
            0 responses
            7 views
            0 likes
            Last Post jclose
            by jclose
             
            Started by WeyldFalcon, 08-07-2020, 06:13 AM
            10 responses
            1,415 views
            0 likes
            Last Post Traderontheroad  
            Working...
            X