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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    94 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    56 views
    0 likes
    Last Post PaulMohn  
    Working...
    X