Hi there I need to select or avoid specific symbols through a string input to make different sets, so the question is how to make this.
For example:
I want to trade defaults for all 28 forex pairs but EURUSD|USDJPY|EURJPY .
Then I want to trade only EURJPY through a custom set and EURUSD|USDJPY by a different one.
For this purpose I will write a enum definition with the following parameters:
0. ManageAll (not used in this case).
1. TradeCurrent (might be used for EURJPY).
2. TradeOnly (for EURJPY or EURUSD|USDJPY).
3. ManageAllBut (trade all pairs but the previous ones EURUSD|USDJPY|EURJPY).
So the question is how to make an input and how to apply those restrictions in the code, I'm thinking about something like this but not completely sure:
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi there I need to select or avoid specific symbols through a string input to make different sets, so the question is how to make this.
For example:
I want to trade defaults for all 28 forex pairs but EURUSD|USDJPY|EURJPY .
Then I want to trade only EURJPY through a custom set and EURUSD|USDJPY by a different one.
For this purpose I will write a enum definition with the following parameters:
0. ManageAll (not used in this case).
1. TradeCurrent (might be used for EURJPY).
2. TradeOnly (for EURJPY or EURUSD|USDJPY).
3. ManageAllBut (trade all pairs but the previous ones EURUSD|USDJPY|EURJPY).
So the question is how to make an input and how to apply those restrictions in the code, I'm thinking about something like this but not completely sure: