I've got an EA with an enum where you select which strategy you want the EA to trade and it will use pre-configured settings I have within the code for TP, SL etc... Problem is you can't see the settings that are being used unless I display them on chart. Is there a way to update the values in the global inputs dialogue box when you select a different enum?
- Is there a way to hide input variables from the user based on enum selections?
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- Input on Enum function not working for opening position on EA
thili55:
I've got an EA with an enum where you select which strategy you want the EA to trade and it will use pre-configured settings I have within the code for TP, SL etc... Problem is you can't see the settings that are being used unless I display them on chart. Is there a way to update the values in the global inputs dialogue box when you select a different enum?
Not possible.
I've got an EA with an enum where you select which strategy you want the EA to trade and it will use pre-configured settings I have within the code for TP, SL etc... Problem is you can't see the settings that are being used unless I display them on chart. Is there a way to update the values in the global inputs dialogue box when you select a different enum?
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