I agree. The original version works well unless it gets on the wrong side of a trade. I have used several versions and my experience has been they trade differently depending on live or demo account with the same broker. Last week was a good example on EU where it kept breaking down. The martingale can be limited with the max trades option.
The ILan4.3 has an ema filter that does much what you are asking but the sar could be a better option.