Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
Thanks , yes its for MT5 and EA.I read all your info, very thanks!!!!in this days i write you!
Very very thanks!!!!
Hello again:
I was able to fix the program at the end and find the error, I had to take the data from buffer 1 and 2 and transfer it to the buffer using “CopyBuffer” and say that it is not “0” for EMPTY_VALUE .
Also add an “If” with a larger and smaller than, as it had other variables.
Correct what you said about the int type, instead of the double, completely ignore this function, I am very grateful to you.
For a beginner, it cost me a little, but in the end it turned out to be easier than I imagined, and this greatly complicated me.
On the other hand:
I am trying to create prices of another index in one indicator. Instead of the RSI or MACD oscillator showing me linearly the price of an asset (future, currency), etc. But let's see how I can find a solution :)
Thank you very much for the information, very useful and what I noted.
...
I am trying to create prices of another index in one indicator. Instead of the RSI or MACD oscillator showing me linearly the price of an asset (future, currency), etc. But let's see how I can find a solution :)
...
First of all, you need to be sure that the prices of the other symbol are ok. You can do this with the Bars (OtherSymbol) function. If the function Bars () returns 0 or -1, then do return(0) from OnCalculate(), so that the next tick will attempt to recalculate the indicator.
To get the bar index of another symbol corresponding to the index of the calculated bar, use the CopyRates() function, but specify not the bar index, but time (3-th parameter).
Example: https://www.mql5.com/ru/code/19832
En primer lugar, debe haber de los precios del otro símbolo estaban bien. Puede hacer esto con la función Bars (OtherSymbol). Si la función Bars () devuelve 0 o -1, entonces devuelve (0) de OnCalculate (), de modo que el siguiente tick intentará recalcular el indicador.
Para obtener el índice de la barra de otro símbolo correspondiente al índice de la barra calculada, utilizar la función CopyRates (), pero no especifique el índice de la barra, sino el tiempo (parámetro 3-th).
Ejemplo: https://www.mql5.com/en/code/19832
Are you a machine or a super programmer. This envy gives me everything you know (in the healthy way that I tell you). In a few days I will tell you how it went. I like to study programming, I teach it in my country, and the truth is that this is a vice :).
Very grateful for your time.
Regards from Spain!!!!!
Вам нужно изменить в списке параметров OscUni_OSMA и ввести входной параметр, который вы хотите, например 13, 26,9, тогда он будет работать (по умолчанию были 14,14,14).
Спасибо, это чудесно.
Один вопрос. Вы нашли 15 вариантов дивергенции или конвергенции, по крайней мере. Так как вы поставили 3 по умолчанию в индикаторе, означает ли это, что он показывает только дивергенцию номер 3 или 3 дивергенции. Однако их не менее 15. Так что, чтобы поймать все, мы должны изменить число до 15 или мы должны попробовать каждый номер, чтобы поймать дивергенцию или конвергенцию вариации на графике.
Спасибо, с уважением
... на стандартных настройках - ПРОПУСКАЕТ явные Дивергенции (!)
Как это пролечить ??