Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 546
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
Dear GURU ! Help with the Expert, there are 2 compilation errors - 'MarketInfo' - syntax error and not all control paths return a value
I'm begging you - I don't have the brains for it.
int init() {gd_348 = MarketInfo(Symbol(), MODE_SPREAD) * Point;
switch MarketInfo(Symbol(), MODE_MINLOT) {
case 0.001:
gd_256 = 3;
break;
case 0.01:
gd_256 = 2;
break;
case 0.1:
gd_256 = 1;
break;
case 1.0:
gd_256 = 0;
}
return (0);
}
int deinit() {
return (0);
}
No one can help you with decompiling, but they can easily help you with banning...
Help
Timer doesn't work, returns fouls and error 4051
Or should it not work in the tester?
Can you please tell me if this condition would work?
Can you please tell me if this condition would work?
It will be if before the loop total = OrdersTotal();
Of course it is, however...
I strongly doubt the correctness of the construction
Of course it is, however...
I have serious doubts about the correctness of the design.
What doubts? Print Print(OrderSymbol(); and you get EURUSD
But!!! If the broker has a suffix in the instrument name, you have to write the symbol with the suffix.
Can you tell me. Where is the section on what settings. That is, the layout, checkboxes, arrows, etc.
Of course it is, however...
I strongly doubt the correctness of the design
Here https://www.mql5.com/ru/forum/119342 is a good function to get a list of available symbols in the terminal, in this case I don't see much point in comparing the order symbol with the broker symbol names in this account, but in other cases it is very useful.
And in this case to exclude suffixes