@Fibonatic Are you using any shift value different from 0 on those MA constants? In my experience, using negative numbers will never work and using positive numbers can mess things up A LOT!
Finding the perfect trailing stop settings is not easy. Sadly, the only option is trying and trying new options. Boring but inevitable process, I'm afraid.