-
Why did you post your MT4 question in the MT5 Indicators section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
Next time, post in the correct place. The moderators will likely move this thread there soon. -
if(Different>0) InfoUp[i]=Different; if(Different<0) InfoDown[i]=MathAbs(Different);
What do you think the value of your elements are when not set?
if(InfoUp[x]!=0) UP=UP+InfoUp[x]; //SUM
There you assume zero.
-
Почему вы разместили свой вопрос по MT 4 в разделе «Индикаторы MT 5» , а не в разделе «MQL 4 » (внизу корневой страницы )?
Общие правила и лучшие практики Форума. - Общие - Форум программирования на MQL5 ? (20 17 )
В следующий раз пишите в правильном месте. Скорее всего, модераторы скоро перенесут эту тему туда. -
Как вы думаете, какова ценность ваших элементов, когда они не установлены?
Там вы предполагаете ноль.
There are 0 I think.
-
Why did you post your MT4 question in the MT5 Indicators section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
Next time, post in the correct place. The moderators will likely move this thread there soon. -
What do you think the value of your elements are when not set?
There you assume zero.
Please help me, I'm going crazy with this Indicator/
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I wrote the code (attached below) for the indicator, everything counts correctly. However, only during initialization, during further drawing - the information is drawn incorrectly. I tried to use start () instead of a calculator, but everything is the same.
Only 1 return;