sherwind

MMI Signal

sherwind 已更新   
Trend trading strategies filtered by the Market Meanness Index.

This is a port of the experiment described at

www.financial-hacker...-by-trade-filtering/
www.financial-hacker...delusion-or-reality/
www.financial-hacker...d-and-exploiting-it/
www.financial-hacker...hites-reality-check/

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.
版本注释:
Fixed compilation error with recent pinescript version
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?