GGTH Forex Predictor executes trades based on signal confidence and predicted price targets. The EA features multiple risk controls such as volatility filters, trend-based MA filters, RSI checks, and a maximum holding time limit. It includes an averaging down recovery mechanism that scales lot sizes if a trade goes into drawdown. Users generate prediction data via an external GUI for operation. The system includes logic to handle FIFO regulations for US-based brokerage accounts.
Read from GGTH_2026_v19.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpStrategyTesterMode
bool
false
Strategy Tester Mode (use CSV lookups)
InpSymbol
string
EURUSD
Trading Symbol
InpTradingTimeframe
ENUM_TIMEFRAMES
PERIOD_H1
Prediction timeframe for trading
InpEnableTrading
bool
true
Enable live trading
InpLotMode
ENUM_LOT_MODE
LOT_MODE_FIXED
Lot Sizing Mode
InpFixedLot
double
0.1
Base Lot Size
InpRiskPercent
double
1.0
Risk % (if using Risk mode)
InpMagic
int
20260522
Magic Number
InpFIFOCompliant
bool
true
FIFO Compliant Mode (NFA/US brokers)
InpMaxMarginUsagePct
double
60.0
MAX Margin Utilization %
InpMinPredictionPips
double
17.0
Min Signal Confidence (pips)
InpUseAveragingDown
bool
true
Enable Averaging Down
Show all 40 inputs
Name
Type
Default
Description
InpAvgLevel1Lots
double
0.2
Level 1: Lot Size
InpAvgLevel1Pips
int
15
Level 1: Pips Against Position
InpAvgLevel2Lots
double
0.2
Level 2: Lot Size
InpAvgLevel2Pips
int
35
Level 2: Pips Against Position
InpAvgLevel3Lots
double
0.3
Level 3: Lot Size
InpAvgLevel3Pips
int
10000
Level 3: Pips Against (10000=disabled)
InpUseProfitProtection
bool
true
Enable Profit Protection
InpMinPositionsForProtection
int
2
Min Positions to Trigger
InpProfitTargetAmount
double
27.0
Profit Target ($) to Close All
InpUseMaxHoldTime
bool
true
Enable Max Hold Time
InpMaxHoldHours
int
10
Auto-Close Hold Time (hours)
InpUseMarketContextVeto
bool
false
Use Local Volatility Veto
InpVolatilitySpikeMultiplier
double
2.5
ATR Spike Threshold (2.5x=extreme)
InpMaxCandleChangePercent
double
0.5
Max Single Candle % Move
InpVolatilityLookback
int
20
Volatility Average Period
InpUsePredictedPrice
bool
true
Use predicted price as TP
InpStopLossPips
int
60
Stop loss in pips
InpTakeProfitPips
int
200
Take profit in pips (if not using predicted)
InpTPMultiplier
double
1.0
TP multiplier (adjust predicted TP)
InpMinTPPips
int
17
Minimum TP distance in pips
InpMaxTPPips
int
70
Maximum TP distance in pips
InpUseTrendFilter
bool
true
Use trend filter
InpTrendMAPeriod
int
83
Trend MA period
InpTrendMAMethod
ENUM_MA_METHOD
MODE_EMA
Trend MA method
InpTrendMAPrice
ENUM_APPLIED_PRICE
PRICE_CLOSE
Trend MA price
InpUseRSIFilter
bool
true
Use RSI filter
InpRSIPeriod
int
14
RSI period
InpRSIOverbought
double
75.0
RSI overbought level
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone syngyn/GGTH-Forex-Predictor 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 MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern
LQS AI Institutional Engine is a MetaTrader 5 robot designed for trading gold using market microstructure analysis. It combines four analytical modules focusing on liquidity sweeps, order flow divergence, Wyckoff accumulation and distribution phases, and multiple anchored VWAP levels. The system features an integrated
This automated trading robot for MetaTrader 5 is designed specifically for gold and silver markets. It utilizes an AI-driven approach incorporating quantum state modeling and a chaos filter to identify market entries. The strategy weights inputs from RSI, ADX, and moving averages against an adaptive decision threshold.
This expert advisor for MetaTrader 5 combines traditional quantitative strategies with machine learning via the ONNX runtime. It features multiple trading modes including Order Blocks, market structure analysis, and a hybrid AI strategy using neural network predictions trained in PyTorch. The system incorporates compre
EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT