Ну вообщето да, это я уже на автопилоте, выработал правила и шпарю не задумываясь,
согласен если параметр вовне не передаёться то криминала нет.
Но имейте в виду что снаружи параметр не измениться и если вы передали "" или "0" то снаружи функции он "GBPUSD" например не станет.
I see, thank you. When I call the function, the code explicitly specifies for which TF and which pair the value of the function should be returned. But it returns only 1, 0 and -1... At least now I know what it is and why I don't understand the "&" sign so far. You live and learn... :)
The Signal variable receives a value from the indicator through iCustom
Signal = iCustom(NULL,PERIOD_M1,"MACD",0,0,i);
Then I want to open an order if Signal != EMPTY_VALUE.
My question is: What is the best way to check the Signal value in ALL timeframes (is it empty or not) and in all currency pairs?
We need this in order to open an order not only on the basis of M1 and other charts. And we want to keep the EA in one window instead of having it in every symbol window, but to run it on all pairs and search...
В переменную Signal поступает значение из индикатора через iCustom
You can make 2 arrays of string and int type, put all needed symbols in the first one and timeframes in the second one, and then use 2 nested loops to go through all tf symbols at one symbol first and then to the last one.
Techno>>: Можно сделать 2 массива типа string и int, в первый забываешь все нужные символы, во второй таймфремы, а потом 2мя вложенными циклами сначала на одном символе все тф перебираешь и далее до последнего символа.
Is there any ready-made script that gives more complete statistics based on the results (history) of testing or manual trading - losses, closing at 0, profits, currencies, distribution of drawdowns on history and by currencies, etc.?
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.
Ну вообщето да, это я уже на автопилоте, выработал правила и шпарю не задумываясь,
согласен если параметр вовне не передаёться то криминала нет.
Но имейте в виду что снаружи параметр не измениться и если вы передали "" или "0" то снаружи функции он "GBPUSD" например не станет.
At least now I know what it is and why I don't understand the "&" sign so far.
You live and learn... :)
Похоже проблема в Слипаже. Маленький он
Please tell me how to do the following:
The Signal variable receives a value from the indicator through iCustom
Then I want to open an order if Signal != EMPTY_VALUE.
My question is: What is the best way to check the Signal value in ALL timeframes (is it empty or not) and in all currency pairs?
We need this in order to open an order not only on the basis of M1 and other charts. And we want to keep the EA in one window instead of having it in every symbol window, but to run it on all pairs and search...
I don't want to set it manually:
It should be more succinct, maybe with a switch, I don't know. Can you tell me if anyone has done this before...Подскажите плиз, как сделать следующее:
В переменную Signal поступает значение из индикатора через iCustom
подскажите пож. советника закрывающего все позиции при уменьшении или увеличении эквити на заданное значение
Можно сделать 2 массива типа string и int, в первый забываешь все нужные символы, во второй таймфремы, а потом 2мя вложенными циклами сначала на одном символе все тф перебираешь и далее до последнего символа.
Is there any ready-made script that gives more complete statistics based on the results (history) of testing or manual trading - losses, closing at 0, profits, currencies, distribution of drawdowns on history and by currencies, etc.?