Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

HAN - MetaTrader 4 Expert | Forex Indicator Downloads - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 5 reads | 0 comments |

HAN - expert for MetaTrader 4

Heiken Ashi Naive Expert Advisor is based on the Heiken Ashi candlestick charting system and uses the standard indicator of the same name. The "naive" thing about the trading system used is that it only interprets the last two candles of Heiken Ashi and does not use some sophisticated pattern analysis. The only "but" - the Expert Advisor trades against the estimated trend direction, confirmed by the current state of the candlestick.

The biggest advantage of an EA is that it has no input parameters, which require optimization or "tuning" to suit previous data. For better control over your funds, position size calculation based on the ATR indicator can be enabled.

Calculation rules

Heiken Ashi candlesticks are calculated using the following rules:

Trading strategy:

Heiken Ashi Naive uses a fairly simple but not very obvious trading method.

Use the following entry signals:

If there is an open position in the opposite direction when the signal arrives, the position will be closed. If the position is the same as the signal direction, the latter is ignored.

The following exit signals are used to close a trade before a new entry signal occurs:

As you can see, the Expert Advisor uses reverse logic in its trading strategy. According to Heiken Ashi, when the system points to a fairly strong bearish trend, it buys, and when the system shows a bullish bounce, it sells. The key is to catch the reversal as early as possible.

Input parameters:

Money management

HAN - expert for MetaTrader 4


Attachment download

📎 han.mq4 (9.27 KB)

Source: MQL5 #13191

Verification code Refresh