Use a buffer with arrows
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
Hello,
I'm using the information in this post https://www.mql5.com/en/forum/159093#comment_3813702 to write an indicator that starts at Bars and goes down to 0 and detects and marks the previous turning point using logic similar to
h0<h1&&h1>h2
or
but it's not marking the correct points. I suspect it because I'm replaying some of the bars at certain points as new events are being thrown and creating errors. Has anyone any examples of how to mark specific points while looping down to 0 so that I can learn how to do it correctly please?
Thanks.