fixed the DMS algorithm.
Merge branch 'master' of https://github.com/vikaschouhan/stock_analysis