Of course, it's possible. Split the string (StringSplit) into elements, convert them to integers. For each one, do a OrderSelect loop.
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
I have found an interesting indicator showing Breakeven level information for MT4.
The indicator displays the breakeven line in the form of a horizontal line on the chart of a currency pair; Sell and Buy separated and/or one line cumulative.
To calculate the breakeven line, open positions for this currency pair are taken.
I am asking if is it possible to evaluate not only one magic number, but a combination of Multiple Magic Numbers generating a cumulative breakeven line.
so from :
extern int MagicNumber = 123; // Evaluation only orders matching this magic number
to :
input string Magic_numbers = "12345,123456,327,67"; // comma separated list of Magic Numbers (evaluated all together)
Many thanks, greetings