Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enrich user inputs from another class

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

    Enrich user inputs from another class

    Is something like this possible?


    base indi:

    Code:
    	[Category("Parameters")]
            [Display(Name = "My Variable")]
            public bool my_Var
            {
                get; set;
            }
          ....
          ....
             Addons.Xyz.Show_other_Default_Inputs();
          ....

    where `Show_other_Default_Inputs` should add other user-inputs, like:

    Code:
       	[Category("Parameters")]
            [Display(Name = "Enable Alerts")]
            public bool enableAlert
            {
                get; set;
            }
    I dont exactly mean the way I showed above, i'm also interested any other ways too, to achieve what i say (adding inputs from other places)...


    to say more clear, I WANT TO SET A FIELD (not property) in the indicator, like:

    private bool Show_Color_Inputs = true;

    and if that field is set to true, according to that, some inputs should be shown/hiden to user. will be handy.
    Last edited by ttodua; 04-13-2018, 12:39 PM.

    #2
    Hello TazoTodua,

    Thank you for your note.

    User inputs should be defined within the indicator/strategy.

    What you're attempting to do may be possible however it would not be supported.

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X