Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Added Indicator - Exposing Properties?

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

    Added Indicator - Exposing Properties?

    When I Add an indicator in a strategy, what determines which properties for the indicator are exposed and can be modified by the user? Is there a way to allow the user to modify some properties and not others?

    #2
    You can take a look at those tips here for customizing the Added indicators - http://www.ninjatrader.com/support/f...ead.php?t=3228

    Comment


      #3
      I don't see where the referenced post desribes which indicator properties are exposed or not exposed to the user. Is that described in the referenced post?

      Comment


        #4
        The indicators are added with the defaults as they are coded up unless you customize them as described in the tip.

        Comment


          #5
          Property Not Seen By User

          The code for the indicator in question is attached. It is being added to a strategy using

          Code:
           
          Add(PMA_Status(colorFalling,colorNeutral,colorRising,fastPeriod,macdFast,macdPeriod,macdSlow,macdSmoothing,macdStdDev,pbBiasSelection,pbPeriod,stopDisplacement,stopPeriod,totalFalling,totalRising));
          Why doesn't the user see the following property for that indicator?

          Code:
           
          [Description("Background Colour for Status Panel")]
          [Category("Status panel")]
          [NinjaTrader.Gui.Design.DisplayName("Background color")]
          public Color StatusPanelBackColor
          {
          get { return this.PanelBrush.Color; }
          set { this.PanelBrush = new SolidBrush(value); }
          }

          Comment


            #6
            dkrumholz, the complete indicator is added and only the plots the indicator has could be customized later on via the UI under the 'Indicators' section.

            You could make a user input for your strategy so the user could select the backgroundcolors.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            666 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            376 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            110 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            575 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            580 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X