Trading robot ยท MT5

Omak FxYO

by GoyBoi

This MetaTrader 5 expert advisor implements a multi-timeframe strategy based on the TTrades Fractal Model and Dow Theory.

GitHub stars2
Forks0
Last update3 months ago17 Jun 2026
LicenceNone stated

Overview

Omak FxYO operates using two distinct execution branches: Intraday (D1/H1/M5) and Swing (W1/H4/M15). The system analyzes market structure to identify points of interest, employing wick ratios and optional volume expansion for entry confirmation. Risk management includes percentage-based lot sizing, daily loss limits, and catastrophic equity floors. It supports automated pyramiding into established moves and features a break-even trigger based on risk multiples. The README is missing, but the code defines detailed execution gates.

Details

Author

GoyBoi on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Trend following, Multi-strategy

Markets

Any symbol

Timeframes

M1-M5, M15-H1, H4 and above

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

EA files

Input parameters

Read from OmakFxYO.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpBranchENUM_EXECUTION_BRANCHBRANCH_INTRADAYBRANCH_INTRADAY=Branch A (D1/H1/M5), BRANCH_SWING=Branch B (D1/H4/M15)
InpActiveBranchENUM_ACTIVE_BRANCHBRANCH_AActive branch: A=Intraday(D1/H1/M5), B=Swing(W1/H4/M15)
InpRiskPercentdouble1.0
InpMaxMinLotRiskPercentdouble20.0Affordability bridge: max minLot risk % for symbol tradeability gating
InpMaxRiskDeviationdouble0.25Max allowed risk deviation after lot adjustment (%)
InpMinStopBufferdouble1.0Minimum SL buffer as multiplier of broker's SYMBOL_TRADE_STOPS_LEVEL (0=use broker minimum)
InpStopsBufferdouble1.0Multiplier for broker stops level enforcement
InpMaxPoiWaitBarsint20Max M5 bars to wait for POI (was 10)
InpMagicNumberint88001
InpEnableTracebooltrue
InpUsePipelineGatebooltrueUse pipeline as execution gate
InpLogLevelENUM_LOG_LEVELLOG_LEVEL_INFOLog verbosity level
Show all 40 inputs
NameTypeDefaultDescription
InpMaxLogsPerSessionint1000000Session log cap
InpMaxLogsPerBarint5000Logs per bar cap (0 = unlimited)
InpMinFreeMarginRatiodouble1.5Minimum free margin ratio (FreeMargin / MarginRequired)
InpMaxDailyLossPercentdouble5.0Max daily loss % of balance before trading halts
InpCatastrophicFloorPercentdouble20.0Static drawdown: % of initial deposit (hard floor)
InpDynamicFloorPercentdouble0.0Secondary floor: % of 30-day peak equity (0 = disable)
InpMinTradeAgeMinutesint60No guard closure before this age
InpTradeCooldownSecondsint60Cooldown seconds after trade execution
InpBlockNewEntriesOnDailyLossbooltrueBlock new entries when daily loss limit hit
InpGuardManualResetboolfalseManual reset trigger for PERMANENT halt
InpBE_R_Multipledouble1.0Move SL to entry after X*R profit (1.0 = 1R)
InpTrailingStartint0Start trailing after Y points profit (disabled)
InpTrailingStepint0Trail SL by Z points (disabled)
InpMinTradeAgeSecondsint10Minimum age before any SL modification
InpMaxTradeDurationDaysint5Emergency close after N days (0=disabled)
InpUseTrueTTradesModebooltrueEnable true TTrades HTF-LTF alignment
InpTradingStyleENUM_TIMEFRAMESPERIOD_H4Trading style: H4=Swing, H1=Daytrade, M15=Scalp
InpMaxC2WickPercentdouble0.6Max C2 wick ratio (0.6 = 60%) โ€” triggers "wait for C3"
InpUseVolumeConfirmationboolfalse[PHASE 3] Enable volume filter for C3
InpMinVolumeExpansiondouble120.0Min volume % increase for C3 (100=baseline)
InpAllowLTFLeadReversalboolfalseAllow LTF to signal before HTF reversal starts (aggressive)
InpTradeGraceSecondsint60Grace period after trade opens before loss checks
InpMaxConsecutiveLossesint3Max consecutive losses before trading halts
InpMaxSignalsPerBranchint4Max signals per branch (pyramiding limit - enhanced to 4)
InpEnablePyramidingbooltrueEnable pyramiding (scale into strong moves)
InpMaxPyramidOrdersint2Max additional pyramid orders per direction
InpPyramidAdditionalRiskPctdouble50.0Additional risk % per pyramid order (vs base trade)
InpPyramidRiskFactordouble0.70Declining risk factor per pyramid layer (0.70 = 30% reduction per layer)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone GoyBoi/OmakFxYO from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 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.

Similar expert advisors

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

SMC Master Pro

by Kanishkar01
4 stars

This MetaTrader 5 expert advisor implements an automated strategy based on Smart Money Concepts and the Trading Hub Juka Method. It analyzes market structure, institutional order blocks, and fair value gaps to identify high-probability entry points. The robot features multi-timeframe analysis, evaluating alignment betw

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 7 months ago Unlicense GitHub repository of SMC Master Pro
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion

Price Action Master

by fikribuoy-droid
1 stars

This MetaTrader 5 expert advisor automates several price action strategies, including pin bar reversals at support and resistance levels, trendline bounces, and break-and-retest patterns. The robot employs multi-timeframe analysis to align entries with higher timeframe trends. Risk controls include percentage-based pos

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 4 months ago None stated GitHub repository of Price Action Master

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers