In this update I have added the efficiency ratio of the Kama average, i.e. the calculation of the signal intensity and underlying volatility and their ratio. Personally I use the threshold of 0.3 to identify if the market is flat (below 0.30 of SG) or in a trend (above 0.30 of ER - Efficiency Ratio). I'll publish ASAP the updated version of Kama with the ER ratio (v1.22)