Just realized that the "existe" variable should go inside the second loop and this was the issue.
I'll leave the correction here, in case anyone needs it in the future.
for(int j=0;j<ArraySize(symbols);j++) { existe = false; if(symb==symbols[j]) { existe=true; } }
Hi all!
I'm trying to display in an indicator the current profit level and the % of equity that it represents.
Actually, I'm testing it across 17 pairs and it this moment there are open trades on 14 of them, so I would expect to have information displayed for all of those.
However, for some reason, I can only get 10 pairs displayed and I don't know why.
Any suggestion? This is my code!