The Market Meanness Index tells whether the market is currently moving in or out of a "trending" regime. It can this way prevent losses by false signals of trend indicators. It is a purely statistical algorithm and not based on volatility, trends, or cycles of the price curve.
The indicator measures the meanness of the market - its tendency to revert to the mean after pretending to start a trend. If that happens too often, all trend following systems will bite the dust.
Inputs
Price Source: Either open, high, low, close, hl2, hlc3, or ohlc4. The default value is hlc3.
Trend MA Type: Either SMA, EMA, LowPass, Hull MA, Zero-Lag MA, ALMA, Laguerre, Smooth, Decycle. The default value is LowPass.
Trend MA Period: Sets the lookback period of trend MA. The default value is 200.
MMI Period: Sets the lookback period of the Market Meanness Index. The default value is 300.
Notas de Lançamento
Fixed compilation error with recent pinescript version
No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.