Home Technical Indicator Post

Mastering the Heiken Ashi Smoothed Indicator for MetaTrader 5

Attachments
481.zip (22.27 KB, Download 0 times)

The Heiken Ashi Smoothed indicator is a twist on the classic Heiken Ashi tool that many traders swear by.

What sets it apart? Instead of using the current price values, it leverages smoothed price data. This nifty method helps filter out those pesky false signals that can often lead you astray when using standard calculations.

This indicator also gives you the flexibility to choose your smoothing method from a variety of options:

  • SMA – Simple Moving Average;
  • EMA – Exponential Moving Average;
  • SMMA – Smoothed Moving Average;
  • LWMA – Linear Weighted Moving Average;
  • JJMA – JMA Adaptive Average;
  • JurX – Ultralinear Smoothing;
  • ParMA – Parabolic Smoothing;
  • T3 – Tillson's Multiple Exponential Smoothing;
  • VIDYA – Smoothing using Tushar Chande's Algorithm;
  • AMA – Smoothing with Perry Kaufman's Algorithm.

It's worth noting that the Phase1 and Phase2 parameters take on different roles depending on the smoothing algorithm you choose. For instance, with JMA, the Phase variable can range from -100 to +100. For T3, it refers to a smoothing ratio multiplied by 100 for easier visualization. Meanwhile, VIDYA's Phase parameter corresponds to a CMO oscillator period, and for AMA, it's tied to a slow EMA period (with the fast EMA set to a default value of 2).

To get started, you'll need to copy the SmoothAlgorithms.mqh library classes into your terminal_data_folder\MQL5\Include. For a deep dive into how these classes work, check out the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

The Heiken Ashi Smoothed indicator is available in two formats – for the main chart window:

Heiken_Ashi_Smoothed

And for an additional chart window:

Heiken_Ashi_Smoothed_

Related Posts

Comments (0)