Hi guys, I have a question with these operators: In my EA, there is a loop that I want to repeat exactly 3 times. For this I have tried these two operators, but I find that the loop never stops executing, it does not stop at number 3 but continues until I stop it manually. I have used the operators the way I teach you in the images. I have also thought that if I removed the loop from "on tick" and put it in "on trade" it might fix the fact that it does not repeat permanently, but I don't know if this makes sense.
Lastly, I thought about repeating the loop and its operators 3 times in the layout, that way I would fix it but it wouldn't seem like a clean job to me and I would add a lot of unnecessary code to my EA.
Anyway, I hope you can help me, thank you very much.
All the best
