FREE HEIKEN ASHI EA FOR METATRADER

Capture clean trend moves using heiken ashi smoothed breakouts and reversals

This EA automates trades using the Heiken Ashi Smoothed indicator, allowing traders to follow trends or breakouts with customizable trade behavior and money management rules. Designed for flexible strategy development, it combines classic trend signals with automated risk control, making it ideal for traders who want to tailor their system to changing market conditions.

  • Uses Heiken Ashi Smoothed signals to automate trend-based trading
  • Implements two entry methods: trend color changes and trend-following breakouts
  • Offers four distinct trading behaviors (Regular, Inverse, Buy Only, Sell Only)
  • Customizable stop-loss, take-profit, break-even, and trailing stop parameters
  • Includes four money management modes including martingale and inverse martingale
  • Compatible with ECN and non-ECN brokers, and 2-3-4-5 digit symbol pricing
  • NFA/FIFO compliant for regulated broker environments
  • Filters trades by session (Asian, European, American)
  • Supports alerts, custom magic numbers, and manual pip overrides

Screenshots

Description

The PZ Heiken Ashi EA is a trend-trading robot that automates trade entries and exits based on the Heiken Ashi Smoothed indicator, a modified version of traditional candlesticks that reduces market noise and enhances trend clarity. Designed with flexibility in mind, this EA adapts to different market conditions through a rich set of entry strategies, trade behaviors, and risk management options.

The EA supports two primary entry strategies, which can be enabled or disabled individually:

  • Trend Color Changes: Enters trades when the color of Heiken Ashi candles changes, signaling a potential trend reversal.
  • Breakouts in Trend Direction:: trades breakouts aligned with the current Heiken Ashi trend to capture momentum.

To further tailor its behavior, the EA includes four trade direction modes:

  • Regular: Buys on bullish signals and sells on bearish ones.
  • Inverse: Sells on bullish signals and buys on bearish ones.
  • Only Buy: Takes long trades only and ignores bearish signals.
  • Only Sell: Takes short trades only and ignores bullish signals.

Money Management Modes

The EA also includes four risk control modes:

  • Manual Lot Size: Fixed position size for each trade.
  • Auto Risk by Percentage: Calculates position size based on a percentage of account balance.
  • Martingale: Doubles position size after a loss.
  • Inverse Martingale: Doubles position size after a win.

Input Parameters

  • Heiken Ashi Smoothed Settings: Adjust smoothing period and method.
  • Trading Settings: Enable entry strategies and choose trade direction.
  • Session Settings: Limit trading to selected market sessions.
  • Position Management: Configure SL, TP, trailing stop, break-even logic, and optional close-on-opposite-signal rule.
  • Money Management: Choose between fixed or dynamic lot sizing and activate martingale behavior.
  • EA Settings: Set the magic number, comment for trades, and override pip value if needed.

What to Expect

This EA is a general-purpose trading framework, not a plug-and-play robot that fits all market conditions out of the box. Its performance relies heavily on your ability to understand Heiken Ashi-based strategies and optimize parameters through careful testing. Traders should use the strategy tester to determine the best settings per symbol and timeframe.

Related Indicators & Bots

Frequently Asked Questions

This EA automates trading decisions based on the Heiken Ashi Smoothed indicator. It opens and closes trades based on color changes or trend-aligned breakouts and includes built-in money and position management.

The EA offers two strategies that can be used individually or together: (1) Trade at trend color changes – enters when Heiken Ashi candle color changes direction. (2) Trade breakouts in the direction of the trend – enters after price breaks out in line with the current Heiken Ashi trend.

You can select from four behaviors: (1) Regular: Buys on bullish signals and sells on bearish signals. (2) Inverse: Sells on bullish signals and buys on bearish signals. (3) Only Buy: Ignores bearish signals and trades only long positions. (4) Only Sell: Ignores bullish signals and trades only short positions.

Yes, the EA includes four money management modes: (a) Manual fixed lot size. (b) Auto lot calculation based on percentage risk. (c) Martingale (doubling after a loss). (d) Inverse Martingale (doubling after a win). You can also set stop-loss, take-profit, trailing-stop, and break-even levels.

Yes, the EA allows you to enable or disable trading during the Asian, European, or American trading sessions independently. This helps align trading activity with periods of higher or lower volatility.

Yes. There is an option to automatically close trades when an opposite signal appears. This helps keep the EA aligned with the current trend at all times.

The EA is compatible with ECN and non-ECN brokers, supports 2/3/4/5-digit pricing symbols, and complies with NFA/FIFO regulations.

This EA is a general-purpose tool, not a plug-and-play solution. You must understand how Heiken Ashi-based trading works and use the strategy tester to optimize parameters per symbol and timeframe. Profitability is not guaranteed in all market conditions.

The EA can be used on any timeframe or symbol supported by MetaTrader 4. However, different timeframes and instruments will require different settings for optimal results.

Yes, as long as each instance uses a different magic number. You can assign a custom magic number in the input parameters to ensure trades are managed separately.