EA inputs windows dependency MT4

 

Hi, on MT4 while declaring inputs before OnInit() some inputs need to be  dependent on others.

So if some specific number is selected on FirstNumber the SecondNumber should copy it.

(say only for number 1). Otherwise inputs remain independent.

so if:

input int FirstNumber = 1;

then I would need to see

input int SecondNumber = 1; (done automatically in the code by the fact that FirstNumber was set to 1 manually)

This automatic update of the value of SecondNumber variable needs to be reflected in the the input window and seen by the user. (not sure if it is possible)

This is to help the user set the correct values on the input panel if some decision is made

on the first parameter. (it determines the following ones).

Is this possible to do?

Thanks for any advice

 
cmarconetti: This automatic update of the value of SecondNumber variable needs to be reflected in the the input window and seen by the user. (not sure if it is possible)

Not possible. Tell the user via a comment.

 
William Roeder #:

Not possible. Tell the user via a comment.

thank you
Reason: