Naim El Hajj:
In future please post in the correct section.
I will move this to the MQL4 and MT4 section
Keith Watford:
Sure sorry about that
In future please post in the correct section.
I will move this to the MQL4 and MT4 section
Naim El Hajj: I guess the problem is that I process the bar zero again after it had been
processed the first time, is that correct?
Yes. If you make it Lime, unmake it Red. EMPTY_VALUE

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
I did this small variation of the MACD indicator, where I only changed the moving average from Simple to Exponential, then added two buffers to make the indicator line change colors.
However, my indicator is bugged. After running for some time the values start getting messed up, and I get multiple values overlapping each other.
I guess the problem is that I process the bar zero again after it had been processed the first time, is that correct?