This MetaTrader 5 expert advisor collection trades gold and forex symbols using a multi-timeframe Ichimoku Kinko Hyo bottom-up tier stack from M1 through H4.
Entries align lower-timeframe momentum with higher-timeframe H4 or H1 directional cloud bias, while exits trigger on Kumo touches or ATR-based break-even and chandelier trailing stops. Risk controls include an ATR disaster stop loss, spread and margin filters, and three equity-scaled risk tiers that reduce position percentages as account equity grows. The repository contains VPS and desktop builds alongside numerous experimental variants, and high risk percentages on upper tiers require careful sizing review.
Read from experimental-bottomup-stack-kihon-po3-veto-m2tier-ea.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Symbols
string
GOLDm#
Tenkan
int
9
Kijun
int
26
SenkouB
int
52
Slippage
int
30
InpFixedLots
double
0.10
Fixed lots fallback (sizing data unavailable)
InpRiskATRMult
double
2.0
Reference stop distance = ATR(level TF) x this (risk sizing basis)
InpRiskTier2At
double
7000.0
Equity where risk drops to tier 2 (half regime)
InpRiskTier3At
double
13000.0
Equity where risk drops to tier 3 (tiny regime)
InpRiskPctM2
double
0.5
M2 — tier 1 (equity < Tier2At)
InpRiskPctM5
double
1.0
M5 — tier 1
InpRiskPctM15
double
1.0
M15 — tier 1
Show all 40 inputs
Name
Type
Default
Description
InpRiskPctM30
double
5.0
M30 — tier 1
InpRiskPctH1
double
10.0
H1 — tier 1
InpRiskPctH4
double
20.0
H4 — tier 1
InpRiskPctM2_T2
double
0.25
M2 — tier 2 (half regime)
InpRiskPctM5_T2
double
0.5
M5 — tier 2
InpRiskPctM15_T2
double
0.5
M15 — tier 2
InpRiskPctM30_T2
double
2.5
M30 — tier 2
InpRiskPctH1_T2
double
5.0
H1 — tier 2
InpRiskPctH4_T2
double
10.0
H4 — tier 2
InpRiskPctM2_T3
double
0.05
M2 — tier 3 (equity >= Tier3At)
InpRiskPctM5_T3
double
0.1
M5 — tier 3
InpRiskPctM15_T3
double
0.1
M15 — tier 3
InpRiskPctM30_T3
double
0.2
M30 — tier 3
InpRiskPctH1_T3
double
1.0
H1 — tier 3
InpRiskPctH4_T3
double
2.0
H4 — tier 3
InpMarginUsePct
double
80.0
Max % of FREE margin one order may commit (R5; parent used 100%)
InpCloudBiasEnabled
bool
true
Require Span A vs Span B bias: M1 current+future must agree; M5+ future cloud only
InpH4Bias
bool
true
H4 is the bias — tiers trade in H4's direction (H4 flat = no trades unless the H1 bias stands in)
InpD1Filter
bool
true
D1 filter for the H4 tier: H4 trades only in the D1's direction; D1 in the cloud = no H4 trades
InpMaxSpreadPoints
int
60
Max spread in points to allow entry (0 = no limit)
InpUseM2
bool
true
RUNG: insert M2 into the higher tiers' chains (off = parent chains)
InpM2Tier
bool
true
TIER: let M1+M2 open an M2 trade, with its own risk row and exits
InpM2CloudFull
bool
true
M2 cloud check is the M1-style FULL one (current AND future), not the M5+ future-only rule — applies to the rung AND the
InpH1BiasMode
ENUM_H1_BIAS_MODE
H1BIAS_FLAT_H4
0=off (H4 only), 1=stand in only while H4 is flat, 2=stand in even against an aligned H4
InpH1BiasMaxTier
ENUM_H1_BIAS_TIER
H1TIER_M30
Highest tier allowed to enter on the H1 bias (1=M5, 2=M15, 3=M30, 4=H1; the M2 tier is always included)
InpH1BiasCloudCheck
bool
true
Also require the H1 cloud (Span A vs Span B) to carry the trade's bias
InpATRPeriod
int
14
ATR period (each level uses its own TF's ATR)
InpBEProfitATR
double
1.0
BE arms once profit >= this x ATR (M2/M5/M15/M30 levels)
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone n30dyn4m1c/ichimoku-h4-m1-align from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .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.
This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul
This MetaTrader 5 repository features a diverse collection of automated trading strategies, including indicator-based scalpers and price action robots. The experts utilize technical filters such as Average True Range periods and baseline moving averages to identify entry signals. Key risk management features integrated
This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l
MT5CollectionScalpingMean reversionTrend following
This repository contains a collection of MetaTrader 5 expert advisors, primarily featuring the Signal Poller EA series alongside standard indicator-based robots. The system is designed for high-leverage environments, specifically targeting gold, bitcoin, forex, and indices. It utilizes an external signal push architect
This repository is a compilation of MetaTrader 4 and MetaTrader 5 expert advisors primarily focused on gold (XAUUSD) trading. The core system included features seven independent trading strategies that can be enabled concurrently. It provides various risk management tools, including automated lot sizing based on accoun
XSpark is a modular automated trading framework for MetaTrader 5 that prioritizes capital protection and risk management. It includes a collection of distinct Expert Advisors covering various methodologies: a trend-pullback scalper, candle momentum tracking, Smart Money Concepts (SMC), and ICT liquidity models. The sys