Omega X EA enters trades via simultaneous BuyStop and SellStop pending orders using a straddle range gate. Once one position fills, the EA locks direction and adds levels on the same side with lot scaling. It exits using a dynamic basket take-profit computed from total lots and money target, with broker-side server TP as default. Risk controls include equity stop, daily loss limit, profit cap, spread filter, session filter, blackout windows, and hard caps on lots and levels.
Read from Omega_X_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
DecisionTimeframe
ENUM_TIMEFRAMES
PERIOD_CURRENT
timeframe for all EA decisions (data, bars, ATR)
SpacingMode
ENUM_SPACING_MODE
SPACING_FIXED
GridStepPoints
double
300
FIXED: distance between levels in points
ATRPeriod
int
14
ATR mode: period
ATRMultiplier
double
1.5
ATR mode: step = ATR * this (frozen at level 1)
SpacingBasePoints
double
300
MULTIPLICATIVE: base step in points
SpacingMultiplier
double
1.5
MULTIPLICATIVE: step_n = base * mult^(n-1)
BaseLot
double
0.01
level 1 volume
LotMultiplier
double
1.5
lot_n = BaseLot * LotMultiplier^(n-1)
MaxLotSize
double
10.0
hard cap per order
MaxGridLevels
int
10
hard cap on open trades in one grid
LotRoundingMode
ENUM_LOT_ROUNDING
LOT_ROUND_FLOOR
step rounding: floor or nearest
Show all 40 inputs
Name
Type
Default
Description
MoneyPerLotTP
double
10.0
basket TP = TotalLots * this (account currency)
UseTPDecay
bool
false
shrink TP with depth
TPDecayFactor
double
0.95
applied as factor^(levels-1)
UsePartialClose
bool
false
close oldest profitable trade at X% of target
PartialCloseRatio
double
0.8
0..1
UseServerSideBasketTP
bool
true
Place computed TP on all basket orders (crash safety net)
BasketTPSafetyFactor
double
1.0
Server TP is this multiple of the code target (>= 1.0)
UseProfitMoneyCap
bool
false
halt the EA once realized balance grew by the cap
ProfitMoneyCap
double
100.0
account-currency growth from the balance at EA start
MaxTotalLots
double
5.0
hard cap on summed grid lots
EquityStopPercent
double
30.0
close all + halt if equity drops this % from start of day
DailyLossPercent
double
10.0
close all + pause until next server day
MaxSpreadPoints
int
50
do not arm / add above this spread
UseSessionFilter
bool
false
SessionStartHour
int
0
server time, inclusive
SessionEndHour
int
24
server time, exclusive
PreBlackoutBufferMinutes
int
30
stop new trades this many minutes before a blackout
UseBlackout1
bool
false
Blackout1StartHour
int
23
0..23 server time
Blackout1StartMin
int
0
0..59
Blackout1EndHour
int
2
0..23 server time
Blackout1EndMin
int
0
0..59
UseBlackout2
bool
false
Blackout2StartHour
int
0
0..23 server time
Blackout2StartMin
int
0
0..59
Blackout2EndHour
int
0
0..23 server time
Blackout2EndMin
int
0
0..59
UseBlackout3
bool
false
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone Trio707/Omega-X 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 Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul
This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an
This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance
This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo
This MetaTrader 5 expert advisor utilizes a multicurrency strength system to identify trading opportunities by comparing relative currency values. It calculates strength based on a configurable lookback period, typically using H4 data, and includes triangular weighting and smoothing options. The robot manages exits usi
This MetaTrader 5 expert advisor is designed for gold trading using a combined martingale and grid approach. It uses a moving average crossover filter to determine initial entry direction. If the market moves against the position, the EA opens additional trades at fixed intervals, increasing the lot size via a multipli