I have an include file of functions I used in MT4 that act as an extension to the platform and automatically handle the ECN nonsense. It was a pain to implement but now it's transparent.

I could see someone doing something similar in ZT.