The best way to avoid ESMA is opening an account in a non-european broker, for example Dukascopy Bank or GlobalPrime.

I haven't tested the impact of ESMA in Z1/2/12 yet, but it'll surely reduce the number of possible open positions.