I tried this. works good in trending market. now, all we need is to is to identify trending or ranging market.