Dear Mr. tools
This is a pivot point indicator with arrows for signal.
It is not finished yet. I found it on the MQL5 forum.
(https://www.mql5.com/en/forum/144387/page2).
According to a collaborator he said that.
(Your modified code is outside the for loop . . . so it only runs when the loop ends).
You can help?
I sincerely appreciate it.