I'm not a coder or even close, but I thought this might be simple. I opened the indicator from post 1 TMA + CG mladen in mq4 format and replaced all the instances of tma with tmatrue. When I compiled it, I got a bunch of error messages. I am totally clueless with this stuff. Maybe someone more talented can take a look at this.