Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Name of Indicator Input Parameter in Strategy Builder

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

    Name of Indicator Input Parameter in Strategy Builder

    I have a unique problem.

    I have an Input Parameter named Length for my Indicator AshMA.

    In the #region Properties of this indicator I have:

    [GridCategory("Parameters")]
    [Description("NumBars")]
    [NinjaTrader.Gui.Design.DisplayName("NumBars")]
    public int Length
    {
    get { return length; }
    set { length = Math.Max(1, value);
    }

    So even though the parameter is called Length, I want it to show up as NumBars in the GUI.

    The above code works perfectly for Indicator selection window. I can see Numbars as the name of the Input field.

    However, when I bring up Strategy Builder, the name of the Input is length.

    Is there anyway to force Strategy Builder to use the DisplayName ?

    Also I have another Input variable called: mAType.

    The Strategy Builder always displays it as: "M a Type". Is there any way to force the Gui Name ?

    #2
    Hello,

    Thanks for the note.

    Unfortunately there is not a GUI option for the strategy wizard.

    -Brett
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    32 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    184 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    342 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    264 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X