javageek

Double MACD With Crossover Alert

Double MACD With Crossover Alert

Double MACD with Crossover Alert is based on 2 MACD Histograms with different length settings on top of each other. The first MACD histogram is plotted as a line while the second MACD is plotted as columns. The default MA type for MACD1 is ZEMA or Zero Lag Moving Average.

What is MACD?
Moving average convergence/divergence (MACD) is a technical indicator to help investors identify price trends, measure trend momentum, and identify market entry points for buying or selling. Moving average convergence/divergence (MACD) is a trend-following momentum indicator that shows the relationship between two exponential moving averages (EMAs) of a security’s price. MACD was developed in the 1970s by Gerald Appel.

What is Zero Lag?
Zero lag is a technical analysis tool that aims to reduce or eliminate lag in trend-following indicators that average price over time. Zero lag indicators are designed to provide signals with little or no delay, allowing traders to enter and exit trades quickly and potentially profit from small price movements. Zero-Lag Exponential Moving Average (ZEMA), uses a double-smoothing process to provide a smoother and more responsive moving average. ZEMA can help traders identify trends more quickly, adapt to changing market conditions, and make more informed decisions.

How To Use?
  • When the MACD1 crosses above the zero line and the MACD2 histogram color is dark green (up trend), then a buy alert (blue triangle) is plotted.
  • When the MACD1 crosses below the zero line and the MACD2 histogram color is dark red (down trend), then a sell alert (yellow triangle) is plotted.

All the MACD1 and MACD2 lengths are configurable. This indicator can be combined with other technical indicators to verify the idea behind this theory.

-----------------
Disclaimer

The information contained in this indicator does not constitute any financial advice or a solicitation to buy or sell any securities of any type. My scripts/indicators/ideas are for everyone to use and verify with other technical indicators.


Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?