EliCobra

Enhanced McClellan Summation Index

EliCobra 업데이트됨   

The Enhanced McClellan Summation Index (MSI) is a comprehensive tool that transforms the MSI indicator with Heikin-Ashi visualization, offering improved trend analysis and momentum insights. This indicator includes MACD and it's histogram calculations to refine trend signals, minimize false positives and offer additional momentum analysis.

Methodology:

McClellan Summation Index (MSI) -
The MSI begins by calculating the ratio between advancing and declining issues in the specified index.
float decl  = 𝘐𝘯𝘥𝘪𝘤𝘦 𝘥𝘦𝘤𝘭𝘪𝘯𝘪𝘯𝘨  𝘪𝘴𝘴𝘶𝘦𝘴
float adv   = 𝘐𝘯𝘥𝘪𝘤𝘦 𝘢𝘥𝘷𝘢𝘯𝘤𝘪𝘯𝘨 𝘪𝘴𝘴𝘶𝘦𝘴

float ratio = (adv - decl) / (adv + decl)

It then computes a cumulative sum of the MACD (the difference between a 19-period EMA and a 39-period EMA) of this ratio. The result is a smoothed indicator reflecting market breadth and momentum.
macd(float r) =>

    ta.ema(r, 19) - ta.ema(r, 39)

float msi = ta.cum(macd(ratio))

Heikin-Ashi Transformation -
Heikin-Ashi is a technique that uses a modified candlestick formula to create a smoother representation of price action. It averages the open, close, high, and low prices of the current and previous periods. This transformation reduces noise and provides a clearer view of trends.
type bar
    float o = open
    float h = high
    float l = low
    float c = close

bar   b        = bar.new()
float ha_close = math.avg(b.o, b.h, b.l, b.c)

MACD and Histogram -
The Enhanced MSI incorporates MACD and histogram calculations to provide additional momentum analysis and refine trend signals. The MACD represents the difference between the 12-period EMA and the 26-period EMA of the MSI. The histogram is the visual representation of the difference between the MACD and its signal line.


Options:
  1. Index Selection - Choose from NYA , NDX , or XAX to tailor the MSI-HA to the desired market index.
  2. MACD Settings - Adjust the parameters for the MACD calculation to fine-tune the indicator's responsiveness.
  3. Ratio Multiplier - Apply scaling to the MSI to suit different market conditions and indices.

Benefits of Heikin-Ashi -
  • Smoothed Trends - Heikin-Ashi reduces market noise, providing a more apparent and smoothed representation of trends.
  • Clearer Patterns - Candlestick patterns are more distinct, aiding in the identification of trend reversals and continuations.

Utility and Use Cases:
  1. Trend & Momentum Analysis - Utilize the tool's Heikin-Ashi visualization for clearer trend identification in confluence with it's MACD and histogram to gain additional insights into the strength and direction of trends, while filtering out potential false positives.

  2. Breadth Analysis - Explore market breadth through the MSI's cumulative breadth indicator, gauging the overall health and strength of the underlying market.

- Alerts Setup Guide -


The Enhanced MSI is a robust indicator that combines the breadth analysis of the McClellan Summation Index with the clarity of Heikin-Ashi visualization and additional momentum insights from MACD and histogram calculations. Its customization options make it adaptable to various indices and market conditions, offering traders a comprehensive tool for trend and momentum analysis.
릴리즈 노트:
improved methodology, added support for plot export to new SuperTrend ToolKit
릴리즈 노트:
Added alerts, improved methodology.
릴리즈 노트:
Added option for any alert call.

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?