blackcat1402

[blackcat] L2 Double EMA Convergence and Diverence (DEMACD)

blackcat1402 업데이트됨   
Introduction:
The " L2 Double EMA Convergence and Divergence (DEMACD)" is a custom technical indicator designed for use in TradingView. It's based on the concept of Double Exponential Moving Averages (DEMA) and incorporates elements from the well-known Moving Average Convergence Divergence (MACD). This guide aims to provide an understanding of its definition, history, calculation, operations, usage, input settings, and style.

1. Definition:
The DEMACD indicator is designed to detect changes in price trends using a modified approach of the traditional MACD, with a focus on reducing lag. It does this by comparing two DEMAs of different lengths, providing traders with signals of converging and diverging trends.

2. History:
The concept of DEMA was introduced by Patrick Mulloy in 1994 to reduce the lag inherent in traditional EMAs. MACD, developed by Gerald Appel in the 1970s, is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. The DEMACD combines the quick response feature of DEMA with the reliable trend analysis of MACD.

3. Calculation Method:
DEMACD is calculated through several steps:

Smoothed price S is first computed as (3 * close + high + low + open) / 6.
DAYLINE is calculated as 2 * EMA(S, len_ema) - EMA(EMA(S, 5), len_ema).
The mainTrendLine is the EMA of the EMA of the closing price over len_dema periods.
DIF is the difference between the DAYLINE and mainTrendLine.
DEA is the EMA of DIF over len_smooth periods.
Finally, DEMACD is calculated as (DIF - DEA) * 2.
4. Basic Operations and Comparison with MACD:
DEMACD's key feature is its reduced lag compared to the traditional MACD. While MACD uses EMA, DEMACD uses DEMA, providing a faster and more accurate response to price changes. This makes it particularly useful in volatile market conditions where traditional MACD may lag.

5. Usage:
Similar to MACD, DEMACD is used for trend confirmation, crossover signals, and divergences:

Trend confirmation is observed when the DIF line is above or below the DEA line.
Crossover signals are generated when the DIF line crosses the DEA line.
Divergences between the DEMACD and price action can signal potential trend reversals.
6. Input Settings:
Users can configure the following settings in TradingView:

len_ema: Length of the EMA for DAYLINE.
len_dema: Length of the EMA for the main trend line.
len_smooth: Smoothing length for DEA.
Adjusting these settings allows traders to tailor the indicator to different trading styles and market conditions.

7. Style:
The DEMACD in TradingView is represented with different colors and line thicknesses:

DIF is plotted in red with a line thickness of 2.
DEA is plotted in gray, also with a line thickness of 2.
DEMACD histogram changes color based on its value relative to its previous value and zero.
Conclusion:
The " L2 Double EMA Convergence and Divergence (DEMACD)" is a versatile indicator that combines the rapid response of DEMA with the trend-following abilities of MACD. Its reduced lag makes it a valuable tool for traders looking for timely market signals. Proper understanding and application of its settings can enhance its effectiveness in various trading strategies.
릴리즈 노트:
Add logo

Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
오픈 소스 스크립트

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

면책사항

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

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