The signal file is perfectly located in the MQL Wizard:
It took me a few hours to figure out where to dig, but maybe it's just me. If you download directly from metaeditora, the signal is not visible where it should be in the Wizard. But if you zip fromhttps://www.mql5.com/ru/code/842 and throw a couple of files without the Expert Advisor, it is visible in the Wizard.
For those who want to write things like that you'll repent to God - go away.
Help me with a code example, I need toaddautomatically the right symbolsfor a robot using my (custom)multicurrency indicator. For the test, among other things.
To avoid 4302 error. Sort of a check for the presence of all the required symbols in MarketWatch.
For those who want to write things like that you'll repent to God - go away.
Help me with a code example, I need toaddautomaticallythe right symbolsfor a robot using my (custom)multicurrency indicator. For the test, among other things.
In order to avoid the 4302 error.
Thank you.
Maybe, if I understand you correctly, you needSymbolSelect().
I need eurobucks, poundbucks, euroyen, poundien, ... a bit more of them for the cluster indicator.
How do I organise it?
The market won't take otherwise, without this check...
for (int i =0;i<=SymbolCount-1;i++ )
{
str = StringTrimRight(StringTrimLeft(Symbols[i]));
if (SymbolSelect(str,true)) Symbols[i]=str;
if (GetLastError()==ERR_UNKNOWN_SYMBOL)
{
Print("In settings incorrect parameters are set");
Print("В настройках заданы названия не существующих торговых инструментов");
return(INIT_PARAMETERS_INCORRECT);
}
}
Here's a piece of code where this function is used. In this example, symbols set by user are included in "Market Watch" window (Symbols array), if there is no such a symbol, the appropriate message will be displayed. Do not be lazy to read the help for this function, it is clearly written there.
P.S.
In order for the Expert Advisor (indicator) to work correctly with any symbols, they should be enabled in the "Market Watch" window, this function is just for this purpose.
The signal file is perfectly located in the MQL Wizard:
The signal file is perfectly located in the MQL Wizard:
Guys, haven't googled it yet - I repent.
For those who want to write things like that you'll repent to God - go away.
Help me with a code example, I need toaddautomatically the right symbolsfor a robot using my (custom)multicurrency indicator. For the test, among other things.
To avoid 4302 error. Sort of a check for the presence of all the required symbols in MarketWatch.
Thank you.
Guys, haven't googled it yet - I repent.
For those who want to write things like that you'll repent to God - go away.
Help me with a code example, I need toaddautomaticallythe right symbolsfor a robot using my (custom)multicurrency indicator. For the test, among other things.
In order to avoid the 4302 error.
Thank you.
wOW, I haven't beaten him yet.
Have a look.
Perhaps, if I understand you correctly, you needSymbolSelect().
Perhaps, if I understand you correctly, you needSymbolSelect().
No. You also need to check and output with a comment if you have the wrong characters in the marketplace.
So highlight the ones you need.
and remove unnecessary ones.
So allocate the right ones
and remove unnecessary ones.
I don't get it.
I need eurobucks, poundbucks, euroyen, poundien, ... a bit more of them for the cluster indicator.
How to organise?
The market won't take otherwise, without this check...
I don't get it.
I need eurobucks, poundbucks, euroyen, poundien, ... a bit more of them for the cluster indicator.
How do I organise it?
The market won't take otherwise, without this check...
Here's a piece of code where this function is used. In this example, symbols set by user are included in "Market Watch" window (Symbols array), if there is no such a symbol, the appropriate message will be displayed. Do not be lazy to read the help for this function, it is clearly written there.
P.S.
In order for the Expert Advisor (indicator) to work correctly with any symbols, they should be enabled in the "Market Watch" window, this function is just for this purpose.