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,
Is anybody know how to deal with the attached indicator? I'm trying to build an EA base on this indicator, but somehow the indicator's color and the indicator's buffer is inconsistent. I can't see it repaint though.
For better understanding, please look at the simple file written as an EA (without buy and sell code), and 2 screenshots below.
Here is the "EA" code:
Below are screenshots from visual backtesting.
At the first screenshot, everything looks fine.
Then at a bar later, the indicator buffer looks reversed without reversing the color.
And this happen so many times, this almost frustating me (it's already actually LOL). Is anybody know how to deal with this kind of indicator?
I'm appreciating any help.
Thank you!