OPEN-SOURCE SCRIPT

ADMA

Güncellendi
The ADMA indicator is a technical analysis tool designed to identify trends and potential reversal points in a financial market. The indicator is based on the cumulative difference between the closing price and the high and low points of a candle. Two moving averages (MAs) are used to smooth the trend dynamics and generate clear signals.
Calculation:
The indicator calculates the trend as the cumulative difference between the current closing price and the maximum (or minimum) value of the current and previous candle, depending on market development.
The ADMA indicator is particularly useful for recognizing market dynamics and making trading decisions based on them. By using double smoothing, false signals are reduced, and the signals generated by the indicator are clear and easy to interpret. It is a flexible tool that can be adapted to different trading strategies.
Sürüm Notları
Calculation Methodology:
MaxCloseHigh and MinCloseLow:
MaxCloseHigh: Computes the higher value between the closing price (close) and the high price (high) of the current candle.
MinCloseLow: Determines the lower value between the closing price (close) and the low price (low) of the current candle.
Price Difference (priceDifference):
If the current closing price is higher than the previous closing price, the difference between the closing price and the low price (minCloseLow) is calculated.
If the current closing price is lower than the previous closing price, the difference between the closing price and the high price (maxCloseHigh) is calculated.
Cumulative Trend Calculation (cumulativeTrend):
The price difference (priceDifference) is aggregated over time to form a cumulative trend value, which represents the accumulated price movement.
Moving Average of the Trend:
SmoothedTrend: A Simple Moving Average (SMA) applied to the cumulative trend over a defined period (maLength) to smooth the trend and reduce noise.
SmoothedMidTrend: Another SMA applied to the cumulative trend over a shorter period (midMaLength) to allow for quicker response to changes in trend dynamics.
Applications and Use Cases:
Identifying Divergences:
The ADMA indicator excels at detecting divergences between price movements and the indicator itself. Divergences can serve as strong signals for potential trend reversals.
Bullish Divergence: When the price forms lower lows while the ADMA forms higher lows, suggesting a potential upward reversal.
Bearish Divergence: When the price makes higher highs while the ADMA forms lower highs, indicating a possible downward reversal.
How to Spot Divergences: Draw lines connecting two significant points on the price chart and compare them with corresponding points on the ADMA. Deviations between these lines indicate a divergence.
Assessing Market Conditions:
The smoothed line of the ADMA makes it easier to evaluate the current market environment.
Bullish Market: When the cumulativeTrend is above the smoothed trend, it signals a bullish market environment.
Bearish Market: When the cumulativeTrend is below the smoothed trend, it likely indicates a bearish market environment.
Accumulation / Distribution Line (ADL)Simple Moving Average (SMA)

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname