Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence.
Heiken Ashi Naive evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk is controlled through ATR-based position sizing, although the system lacks hard stop loss and take profit parameters, relying on signal reversals for exits. The repository includes a Z-Score version for filtering trades based on statistical virtualization.
Read from HAN_Z-Score.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Inverted
bool
true
Inversion: If true, sells on Bullish signals, buys on Bearish.
Lots
double
0.1
Lots: Basic lot size
MM
bool
false
MM: If true - ATR-based position sizing
ATR_Period
int
20
ATR_Multiplier
double
1
Risk
double
2
Risk: Risk tolerance in percentage points
FixedBalance
double
0
FixedBalance: If >= 0, will use it instead of actual balance.
MoneyRisk
double
0
MoneyRisk: Risk tolerance in base currency
UseMoneyInsteadOfPercentage
bool
false
UseEquityInsteadOfBalance
bool
false
OrderCommentary
string
HAN
Slippage
int
100
Slippage: Tolerated slippage in points
Show all 15 inputs
Name
Type
Default
Description
Magic
int
1520122013
Magic: Order magic number
Mute
bool
false
No output about virtual trading
FileName
string
HAN_vt.dat
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone EarnForex/Heiken-Ashi-Naive from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
3Copy the filesCopy the .mq4 / .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index
This MetaTrader 5 expert advisor utilizes the Bollinger Bands and Parabolic SAR indicators to execute trades based on market volatility. It functions as an entry-level algorithmic trading template, allowing users to modify strategy logic or optimize parameters using the MT5 Strategy Tester. The bot manages risk through
Ubot is an automated trading system for MetaTrader 4 that utilizes the Traders Dynamic Index (TDI) indicator to execute market entries. It identifies specific technical patterns described as sharkfin and squeeze setups to determine trend direction and volatility. The expert advisor features advanced trade management to
This MetaTrader 5 expert advisor combines automated Forex trading with a Discord notification system via a Python Flask webhook. It executes a dual-timeframe strategy using EMA crossovers, a 200-period trend filter, RSI, and VWAP on the M5 and M15 charts. The EA manages trades with ATR-based stop loss and take profit l
This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu