You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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