Trading robot · MT5

NANDR ORB OB EA

by thino-dev

NANDR ORB OB EA is an automated MetaTrader 5 trading robot designed for scalping XAUUSD (Gold) across session openings.

GitHub stars1
Forks1
Last update5 months ago18 Jun 2026
LicenceNone stated

Overview

NANDR ORB OB EA combines Opening Range Breakout (ORB) mechanics across Tokyo, London, and New York sessions with LuxAlgo-style institutional Order Block volume pivot confirmation. Trades enter on confirmed range breakouts and retests using either market or limit orders, with optional daily open anchor pullbacks and volume spike filters. Risk management controls include customizable fixed or percentage lot sizing, concurrent order caps, daily directional bias rules, and predefined stop-loss and take-profit ratios.

Details

Author

thino-dev on GitHub

Type

Trading robot

Markets

Gold

Timeframes

M1-M5, M15-H1

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.

Input Parameters

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

NameTypeDefaultDescription
InpSymbolNamestringXAUUSDSymbol Name (auto-detected)
InpOrbTimeframeENUM_ORB_TFORB_TF_M15ORB Timeframe (M1/M5/M15)
InpBreakoutConfBarsint0Breakout Confirm Bars (0=auto)
InpUseDailyOpenbooltrueDaily Open Session (22:00 UTC, 01:00 Kuwait)
InpUseTokyoSessionbooltrueTokyo Session (00:00 UTC)
InpUseLondonSessionbooltrueLondon Session (08:00 UTC = 8AM GMT)
InpUseNYSessionbooltrueNY Session (12:00 UTC)
InpUseNYOrbSessionbooltrueNY ORB Session (13:30 UTC = 9:30 EDT)
InpDailyOpenHourint22Daily Open Start Hour (UTC)
InpDailyOpenMinint0Daily Open Start Minute
InpTokyoHourint0Tokyo Start Hour (UTC)
InpTokyoMinint0Tokyo Start Minute
Show all 40 inputs
NameTypeDefaultDescription
InpLondonHourint8London Start Hour (UTC, 8=8AM GMT)
InpLondonMinint0London Start Minute
InpNYHourint12NY Start Hour (UTC)
InpNYMinint0NY Start Minute
InpNYOrbHourint13NY ORB Start Hour (UTC)
InpNYOrbMinint30NY ORB Start Minute
InpOBPivotLengthint0OB Pivot Length (0=auto by TF)
InpOBMaxCountint5Max Active OBs per direction
InpOBMitigENUM_OB_MITIGATIONMITIG_WICKMitigation Method
InpOBRequireConfboolfalseRequire OB Confirmation
InpOBProximityPipsdouble50.0OB Proximity (pips)
InpOBEntryLevelENUM_OB_ENTRY_LEVELOB_ENTRY_MIDOB Retest Entry Level (EDGE/MID/FAR)
InpEntryModeENUM_ENTRY_MODEENTRY_MARKETEntry Mode
InpUseStrictFilterboolfalseUse Strict Breakout Filter (false=simple close-cross)
InpWaitForRetestbooltrueWait for ORB Retest Before Entry
InpBreakoutExpireBarsint20Bars Before Breakout Expires (0=never)
InpUseOBRetestEntryboolfalseOB Retest Entry (optional add-on, default OFF)
InpMaxRetestsPerSessionint3Max Retest Entries Per Session (per breakout)
InpDailyBiasModeENUM_BIAS_MODEBIAS_AUTODaily Bias: AUTO / OFF(no trades) / LONG-only / SHORT-only
InpAllowBiasFlipbooltrueAUTO: let a confirmed opposite breakout flip the day bias
InpExpireStaleSessionsbooltrueStop entries from a session once the next session opens (DailyOpen exempt)
InpDailyOpenAllowNYBiasBypassboolfalseAllow DailyOpen post-sweep retest in NY/NYORB when same-direction breakout is confirmed
InpUseDayOpenAnchorboolfalseAnchor entry to Daily-Open high/low (better R:R pullback)
InpDayOpenAnchorMaxPipsdouble80.0Max distance to anchor to still wait for it (pips)
InpDayOpenAnchorBufferPipsdouble0.0Place limit this many pips inside the anchor (0=exact)
InpUseBreakoutVolFilterboolfalseRequire Volume Spike on Breakout Bar (fakeout filter)
InpBreakoutVolMultdouble1.5Breakout Volume >= X * Average Volume
InpBreakoutVolAvgBarsint20Bars to Average Volume Over

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone thino-dev/NANDR_BOT 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.
  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

Prop Firm EA Fleet

by cgemise971
26 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 11 months ago None stated GitHub repository of Prop Firm EA Fleet

Liquidity Scalper

by torOxO
2 stars

Liquidity Scalper is an automated expert advisor for XAUUSD (Gold) on MetaTrader 4 and 5. It executes trades based on institutional order flow and Smart Money Concepts, specifically targeting liquidity sweeps followed by market displacement. The system identifies order blocks and enters on either retests or momentum-ba

MT4MT5 Trading robot SMC / ICT / price actionScalpingBreakout
Updated 9 months ago None stated GitHub repository of Liquidity Scalper

This MetaTrader 5 expert advisor is a multi-layered trading system specifically designed for BTCUSD. It utilizes a hierarchical decision logic that analyzes macro bias on the H4 timeframe, maps support and resistance on the H1 timeframe, and confirms structure changes on M15 before executing trades on the M5 timeframe.

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

Atlas EA

by ymk5py-commits
2 stars

Atlas EA is a multi-strategy intraday trading robot for MetaTrader 5, primarily focused on gold, silver, and USDJPY. It identifies market structure shifts using Smart Money Concepts, specifically targeting breaks of structure and fair value gaps during the London and New York sessions. The EA includes optional modules

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 2 months ago None stated GitHub repository of Atlas EA

Gold Dual Engine Scalper

by MithunCyDev
1 stars

Gold Dual Engine Scalper is an MT5 expert advisor designed for XAUUSD trading. It utilizes a regime-based state machine to navigate market conditions, employing two distinct engines: one for volatility burst continuations and another for liquidity sweep reversals. The EA monitors for price compression and market exhaus

MT5 Trading robot ScalpingBreakoutSMC / ICT / price action

XAUScalper

by allanorabaasa-hash
1 stars

XAUScalper is a MetaTrader 5 expert advisor designed for gold and Bitcoin that trades M1 market structure without technical indicators. It identifies market structure shifts, swing points, and price breakouts, entering trades confirmed by short-term real tick flow momentum. Orders are placed in asynchronous multi-posit

MT5 Trading robot SMC / ICT / price actionBreakoutScalping
Updated 10 days ago None stated GitHub repository of XAUScalper

More gold EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers