OPEN-SOURCE SCRIPT

ADX Momentum Shaded Candles

Atualizado
Description:
The "ADX Momentum Shaded Candles" indicator (ADXMSC) is an overlay indicator that enhances candlestick charts by adding shading based on the momentum derived from the Average Directional Index (ADX). This indicator provides visual cues about the strength of bullish and bearish momentum by adjusting the transparency of the candlesticks.

How it Works:
The indicator utilizes the ADX indicator to calculate the values of +DI (Directional Indicator Plus) and -DI (Directional Indicator Minus) based on user-defined parameters. It then determines the transparency levels for the bullish and bearish candlesticks based on the calculated values of +DI and -DI. Higher values of +DI or -DI result in lower transparency levels, while lower values increase transparency.

Transparency Calculation:
The transparency of the bullish and bearish candlesticks is adjusted based on the values of +DI and -DI, which reflect the momentum of the price movement. Transparency is inversely proportional to these values, with higher values resulting in lower transparency. To calculate transparency, the indicator uses the formula 100 minus the value of +DI or -DI multiplied by 2. This ensures that higher values of +DI or -DI produce more opaque candlesticks.

Usage:
To effectively use the "ADX Momentum Shaded Candles" indicator (ADXMSC), follow these steps:
1. Apply the indicator to your chart by adding it from the available indicators.
2. Observe the candlesticks on the chart:
- Bullish candlesticks are represented by the original bullish color with adjusted transparency.
- Bearish candlesticks are represented by the original bearish color with adjusted transparency.
3. Analyze the transparency levels of the candlesticks to assess the strength of bullish and bearish momentum. Less transparent candlesticks indicate stronger momentum, while more transparent ones suggest weaker momentum.
4. Combine the visual information from the shaded candlesticks with other technical analysis tools, such as support and resistance levels, trend lines, or oscillators, to confirm potential trade opportunities.
5. Customize the indicator's parameters, such as the ADX length and smoothing, to suit your trading preferences.
6. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Notas de Lançamento
Inputs have been included to allow the user to adjust the bullish and bearish colors of the candles.
Notas de Lançamento
The chart image has been updated to show my private ADX+- with MACD Histogram indicator. Access to this indicator is granted to everyone who follows me.
ADXaveragedirectionalmovementindexCandlestick AnalysiscandlesticksignalsdiminusdiplusmomentumindicatormomentumtradingTrend Analysis

Script de código aberto

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.

Quer usar esse script no gráfico?

Aviso legal