Here is a system based on adaptive indicators as discussed Ehler's book- cybernetic analysis of stocks and futures.
Below is a chart of Nifty that shows exact turning points by these indicators.
The main chart window shows adaptive moving averages.
The indicator window shows the Fisher transform indicator which coincides with market turning points.
The long term moving avarege is Kauffman's moving average.
The smoothed and adaptive version of CCI is below.
Loooks nice after things have taken place....am still experimenting with these indicators....will post my results soon.