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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    30 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    16 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X