XAUUSD MTF Scalper AI Mode utilizes a higher-timeframe bias filter combined with lower-timeframe entry triggers based on a weighted scoring system. The strategy integrates Exponential Moving Averages, ADX for trend strength, Stochastic RSI, and VWAP. Key features include trend-following pyramiding, which allows adding positions during strong moves, and volatility filters using Bollinger Bands and ATR. Risk management includes spread limits and trading session hours, with exits triggered by EMA reversals. The README is minimal, and it supports fixed or margin-based lot sizing.
Weighted entry scoring using EMA, ADX, and StochRSI
Read from XAUUSD_MTF_Scalper (15).mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpBiasTF
ENUM_TIMEFRAMES
PERIOD_M15
Timeframe untuk filter bias (HTF)
InpEntryTF
ENUM_TIMEFRAMES
PERIOD_M1
Timeframe untuk entry trigger (LTF)
InpShowDashboard
bool
true
Tampilkan panel dashboard sinyal di chart
InpShowIndicatorsOnChart
bool
true
Plot EMA/BB/VWAP di chart utama + ADX/RSI di subwindow
InpDashboardXOffset
int
12
Jarak dashboard dari tepi kiri chart (px)
InpDashboardYOffset
int
20
Jarak dashboard dari tepi atas chart (px)
InpEmaFast
int
5
EMA cepat (LTF) - sebelumnya 9
InpEmaSlow
int
13
EMA lambat (LTF) - sebelumnya 21
InpEmaBiasPeriod
int
34
EMA filter tren (HTF) - sebelumnya 50
InpRsiPeriod
int
7
Period RSI dasar utk StochRSI - sebelumnya 9
InpStochLen
int
7
Lookback Stochastic-of-RSI - sebelumnya 9
InpStochOversold
int
20
Batas oversold
Show all 40 inputs
Name
Type
Default
Description
InpStochOverbought
int
80
Batas overbought
InpAtrPeriod
int
10
Period ATR - sebelumnya 14, sedikit lebih responsif
InpMinAtrPips
double
15.0
ATR minimum (poin) - diturunkan dari 30 agar lebih banyak bar lolos filter volatilitas
InpBBPeriod
int
20
Period Bollinger Band
InpBBDeviation
double
2.0
Deviasi BB
InpMinBBWidthPct
double
0.03
Lebar BB minimum (%) - diturunkan dari 0.08, filter sideways lebih longgar
InpUseSpreadFilter
bool
true
Aktifkan filter spread
InpMaxSpreadUSD
double
0.50
Spread maksimum dalam USD
InpLogSpreadDebug
bool
false
Cetak spread aktual ke Journal
InpUseSessionFilter
bool
false
Aktifkan filter jam trading
InpSessionStartHour
int
8
Jam mulai trading (waktu server broker)
InpSessionEndHour
int
21
Jam akhir trading (waktu server broker)
InpLotMode
ENUM_LOT_MODE
LOT_MODE_RISK_PERCENT
Mode penentuan lot
InpFixedLot
double
0.01
Lot tetap (jika mode = Fixed)
InpFullMarginUsagePercent
double
70.0
% free margin yang dipakai (mode Full margin)
InpMaxConcurrentPositions
int
1
Maksimal posisi bersamaan (jika pyramiding OFF)
InpEnablePyramiding
bool
true
Terus nambah posisi searah tren selama tren masih valid
InpMinFreeMarginBuffer
double
15.0
Berhenti nambah jika free margin < X% dari equity
InpMaxPyramidPositions
int
20
Hard cap jumlah posisi saat pyramiding - dinaikkan dari 10 agar bisa nambah lebih sering
InpPyramidMinBarsBetween
int
1
Jarak minimum (dlm bar LTF) antar penambahan posisi - diturunkan dari 3 agar lebih sering nambah
InpPyramidMinAtrMove
double
0.2
Harga hrs bergerak min X * ATR searah tren sejak entry terakhir - diturunkan dari 0.5
InpAdxPeriod
int
10
Period ADX (diturunkan agar responsif)
InpAdxMinForEntry
double
16.0
(Legacy/referensi) - skala atas ADX utk skor sekarang pakai InpAdxSuperStrong
InpAdxWeakenLevel
double
8.0
Ambang longgar utk hold pyramid
InpAdxScoreFloor
double
8.0
ADX di bawah ini kontribusi skor ADX = 0 (dianggap tanpa arah)
InpAdxSuperStrong
double
35.0
Skala ATAS skor ADX - ADX >= ini dpt skor ADX PENUH (25/25)
InpMinEntryScore
double
60.0
Skor minimum utk ENTRY AWAL (skala 0-100). EMA 25 + ADX 25 + StochRSI 30 + VWAP 20
InpMinPyramidScore
double
50.0
Skor minimum utk ENTRY TAMBAHAN/pyramid - lbh rendah krn tren sdh tervalidasi oleh posisi berjalan
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone umarhusain075-hub/XAUUSD-MTF-Scalper-AI-Mode 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 is a multi-timeframe scalping robot designed for the forex market. It utilizes a Currency Strength Meter (CSM) combined with a technical indicator suite including RSI, MACD, and ADX to identify entry signals across various periods from M1 to H4. The system incorporates comprehensive ris
Scalp Gold EA is a MetaTrader 5 robot primarily optimized for XAUUSD and major forex pairs. It employs a multi-tiered entry system that selects risk levels based on setup confluence and H4 trend alignment via moving averages. Entries are further filtered by ADX momentum and volatility checks. The EA manages risk with a
EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
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
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