Show the full code, please.
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
Hi All,
I'm new to this forum, so apologise if I'm violating any rules.
I'm trying to re-create a Tradingview indicator on MQL and come across an issue when it comes to coloring the Histogram.
Tradingview logic I'm trying to copy:
My current MQL5 code which is not working:
For whatever reason, the loop doesn't let me compare to the previous value a second time?
The moment I take this line,
it works fine, but only gives me a 3 color solution.
Any ideas what I'm doing wrong or how I could fix it?
Many Thanks