the problem solved
it was Broker issues and in other brokers EA works fine
in that specific broker i handled it with condition block and checking server name
@aliso You can create an 'n' variable and add +1 to it every time the loop is executed. Then use another variable where that '50*n' is calculated. And you can remove that 'if trade' block on top of it. It is redundant.