Home Technical Indicator Post

Enhance Your Trading with Heiken-Ashi Moving Averages on MetaTrader 5

Attachments
60537.zip (2.19 KB, Download 0 times)

Features:

  • Compatible with all trading symbols.
  • This indicator is multi-timeframe, giving you flexibility.
  • Utilizes color coding for upward and downward trends, making it easier to visualize the market's true direction.

Inputs:

  • Time-frame: Adjust the time-frame for indicator calculations.
  • Period: Modify the moving average period.
  • Shift: Change the moving average shift.
  • Method: Select your preferred moving average method.
  • Price: Choose the type of price to use for calculations.

Check out this example showcasing three moving averages for 5, 10, and 15-minute timeframes on a 5-minute chart:


It’s important to note that this indicator strictly draws the moving average lines and does not display the Heiken-Ashi candles themselves. Here’s how it looks when combined with Heiken-Ashi candles:


This indicator calculates the Heiken-Ashi candles, but feel free to tweak the code in CalculateHeikenAshi to derive new OHLC data. For instance, here’s an example of Heiken-Ashi Smoothed calculations:


Heiken-Ashi Smoothed is a robust trend-following tool, ideal for swing trading and refining your entry points.

Alternatively, we can modify the code to incorporate Heiken-Ashi Smoothed using the Average True Range (ATR):


The Heiken-Ashi Smoothed ATR offers a reliable foundation for setting dynamic stop-loss and take-profit levels.

Related Posts

Comments (0)