@jstap @l-andorrà SOLVED.
After reading a reply on another post (thank you @jerkha) I just modified the structure and now the EA makes what I expected!
Thank you all for your support.
I post the final structure in case it's usefull for anyone around here:
https://fxdreema.com/shared/nLUoK22Ed