Hybrid Swing EA operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approach per identified regime to avoid overtrading in choppy conditions. Risk controls include ATR-derived stop losses, automated partial profit-taking at specific reward ratios, and a trailing stop mechanism. A time-based exit rule is included to manage trades that do not reach targets within a defined period.
Read from XRP_H4_HybridSwingEA.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
TradeSymbol
string
"" = chart symbol
MagicNumber
int
990001
TF
ENUM_TIMEFRAMES
PERIOD_H4
AllowBuy
bool
true
AllowSell
bool
true
BB_Period
int
20
BB_Dev
double
2.0
RSI_Period
int
14
UseRSIConfirm
bool
true
RSI_BuyAbove
double
52.0
RSI_SellBelow
double
48.0
ADX_Period
int
14
Show all 39 inputs
Name
Type
Default
Description
ADX_Min
double
28.0
trend strength
ADX_ResetBelow
double
20.0
regime reset
ATR_Period
int
14
ATR_Pctl_Window
int
120
rolling window in H4 bars
ATR_Pctl_Enter
double
65.0
enter regime when ATR percentile >= this
ATR_Pctl_Reset
double
45.0
reset when ATR percentile falls below this
Min_BB_Bandwidth
double
0.020
(Upper-Lower)/Mid (H4); tune per feed
Require_BB_Expansion
bool
true
bandwidth rising vs previous bar
UseFixedLots
bool
false
FixedLots
double
0.10
RiskPercent
double
1.0
start low; increase only after proof
SL_ATR_Mult
double
1.5
initial SL distance
UsePartial
bool
true
Partial_R
double
1.5
take partial at +1.5R
PartialClosePercent
double
50.0
close % of position
BE_Buffer_Points
int
120
BE buffer (points) to cover spread
UseATRTrailing
bool
true
Trail_ATR_Mult
double
1.0
trailing distance
Trail_Start_R
double
0.7
start trailing after +0.7R
Trail_MinStep_Points
int
120
min SL improve (points) to modify
UseTimeStop
bool
true
MaxHoldBars
int
10
H4 bars to hold before time-exit
TimeStop_MinProfit_R
double
0.3
if profit < 0.3R after MaxHoldBars => close
SlippagePoints
int
30
MaxSpreadPoints
int
25000
XRP spreads can be huge on some CFDs
MaxOpenTradesPerSymbol
int
1
DebugLogs
bool
false
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone clevergoldfox/vantage_EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 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 implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R
Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista
This MetaTrader 4 expert advisor automates trading on the foreign exchange market, with specific testing historicals for GBPUSD on the five-minute timeframe. It focuses on intraday logic, allowing users to define specific trading windows and maximum daily trade limits. Risk controls include dynamic lot sizing based on
Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti
Desiree is an automated trading robot for MetaTrader 4 that utilizes Donchian Channel breakouts for trade execution. The system enters positions based on a specific lookback period and exits using a separate exit period. A notable logic constraint prevents the EA from entering a new trade if the preceding trade resulte
Robot Desiree is a trend-following expert advisor for MetaTrader 4 that utilizes Donchian Channels for trade entries and exits. The system identifies breakouts based on configurable lookback periods and manages positions using either fixed pip-based levels or volatility-adjusted stops and targets calculated from the Av