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 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: