it will not works because a good broker did not supply the same prices as FXCH.
so having the code will not help you.
you need a broker able to get 0 spread, 0 commission, execution time of less than 10ms (including the network communication, I never seen anywhere even on demo accounts) and a price moving all the time.
just compare a demo account from FXCH to another ECN account. if you can get the same price movement, the EA could works.