OPEN-SOURCE SCRIPT

Standardized MACD Heikin-Ashi Transformed

Updated
The Standardized MACD Heikin-Ashi Transformed (St. MACD) is an advanced indicator designed to overcome the limitations of the traditional MACD. It offers a more robust and standardized measure of momentum, making it comparable across different timeframes and securities. By incorporating the Heikin-Ashi transformation, the St. MACD provides a smoother visualization of trends and potential reversals, enhancing its utility for traders seeking a clearer view of the underlying market direction.

Methodology:
The calculation of St. MACD begins with the traditional MACD, which computes the difference between two exponential moving averages (EMAs) of the price. To address the issue of non-comparability across assets, the St. MACD normalizes its values using the exponential average of the price's height. This normalization process ensures that the indicator's readings are not influenced by the absolute price levels, allowing for objective and quantitatively defined comparisons of momentum strength.

Furthermore, St. MACD utilizes the Heikin-Ashi transformation, which involves deriving candles from the price data. These Heikin-Ashi candles provide a smoother representation of trends and help filter out noise in the market. A predictive curve of Heikin-Ashi candles within the St. MACD turns blue or red, indicating the prevailing trend direction. This feature enables traders to easily identify trend shifts and make better informed trading decisions.

Advantages:
St. MACD offers several key advantages over the traditional MACD-

  • Standardization: By normalizing the indicator's values, St. MACD becomes comparable across different assets and timeframes. This makes it a valuable tool for traders analyzing various markets and seeking consistent momentum measurements.
  • Heikin-Ashi Transformation: The integration of the Heikin-Ashi transformation smoothes out the indicator's fluctuations and enhances trend visibility. Traders can more easily identify trends and potential reversal points, improving their market analysis.
  • Quantifiable Momentum: St. MACD's key levels represent the strength of momentum, providing traders with a quantifiable framework to gauge the intensity of market movements. This feature helps identify periods of increased or decreased momentum.

Utility:
The St. MACD indicator offers versatile utility for traders-

  • Trend Identification: Traders can use the color-coded predictive curve of Heikin-Ashi candles to swiftly determine the prevailing trend direction. This aids in identifying potential entry and exit points in the market.
  • Reversal Signals: Colored extremes within the St. MACD signal potential price reversals, alerting traders to potential turning points in the market. This assists in making timely decisions during market inflection points.
  • Overbought/Oversold Conditions: The histogram version of St. MACD can be used in conjunction with the bands to detect short-term overbought or oversold market conditions, allowing traders to adjust their strategies accordingly.

In conclusion, this tool addresses the limitations of the traditional MACD by providing a standardized and comparable momentum indicator. Its incorporation of the Heikin-Ashi transformation enhances trend visibility and assists traders in making more informed decisions. With its quantifiable momentum measurements and various utility features, the St. MACD is a valuable tool for traders seeking a clearer and more objective view of market trends and reversals.

Key Features:
  • Display Modes: MACD, Histogram or Hybrid
  • Reversion Triangles by adjustable thresholds
  • Bar Coloring Methods: MidLine, Candles, Signal Cross, Extremities, Reversions


Example Charts:

-Traditional limitations-
snapshot
snapshot

-Comparisons across time and securities-
snapshot

-Showcase-
snapshot

See Also:
-Other Heikin-Ashi Transforms-
On Balance Volume Heikin-Ashi Transformed

Z-Score Heikin-Ashi Transformed
Release Notes
Updated license
Release Notes
Improved code methodology, smoother representation of price.
Release Notes
Improved methodology,

added source options for Signal Line taken from H-A MACD.
added support for plot export to new SuperTrend ToolKit
Release Notes
Tweaked methodology, added alerts.
Release Notes
Adjusted histogram visibility
Corrected OB OS alerts
Added option for any alert call.
Moving Average Convergence / Divergence (MACD)macdhistogramMomentum Indicator (MOM)momentumindicatorMomentum Oscillatorsmovingaverageconvergencedivergencemultitimeframeanalysisnormalized-macdpurificationTrend Analysistrendindicatortrendreversal

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer