Trading robot · MT5

CRT TBS Gold Scalper

by Pusparaj99op

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles.

GitHub stars5
Forks0
Last update6 months ago18 Mar 2026
LicenceMIT

Overview

CRT TBS Gold Scalper identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specific session kill zones, such as London or New York. Risk controls include percentage-based lot sizing, dynamic stop losses anchored to price wicks, trailing stops, and hard limits on daily trades and drawdown.

Details

Author

Pusparaj99op on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Scalping, Trend following

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 CRT_TBS_Gold_Scalper.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Strategy_Settings_Groupstring=== Strategy Settings ===
InpHTF_TimeframeENUM_TIMEFRAMESPERIOD_H4Higher timeframe for HTF bias
InpMTF_TimeframeENUM_TIMEFRAMESPERIOD_M15Mid timeframe for CRT confirmation
InpLTF_TimeframeENUM_TIMEFRAMESPERIOD_M5Entry/execution timeframe
InpManipulation_MinWickPipsdouble8.0Min wick penetration (pips)
InpFVG_MinGapPipsdouble10.0Min FVG size (pips)
InpConsolidation_Candlesint3Min candles to confirm accumulation
InpBiasConfirmationbooltrueRequire HTF bias confirmation
InpOB_EnabledbooltrueEnable Order Block detection
InpIDM_EnabledbooltrueEnable Inducement detection
Session_Settings_Groupstring=== TBS Kill Zone Settings ===
InpBrokerUTC_Offsetint2Broker UTC offset (999=Auto)
Show all 40 inputs
NameTypeDefaultDescription
InpAutoDetect_TimezonebooltrueAuto-detect broker timezone
InpLondon_KZ_EnabledbooltrueEnable London Kill Zone (02:00-05:00 UTC)
InpNY_KZ_EnabledbooltrueEnable NY Kill Zone (07:00-10:00 UTC)
InpAsian_KZ_EnabledboolfalseEnable Asian Kill Zone (00:00-03:00 UTC)
InpNYPM_KZ_EnabledboolfalseEnable NY PM Session (13:00-16:00 UTC)
InpDraw_KillZonesbooltrueDraw kill zone overlap boxes
InpDraw_SessionLevelsbooltrueDraw open lines (Midnight, LDN, NY)
Risk_Management_Groupstring=== Risk Management ===
InpRisk_ModeENUM_RISK_MODEPERCENT_RISKLot sizing mode
InpFixed_Lotdouble0.01Fixed lot size
InpRisk_Percentdouble1.0Risk percent of account balance
InpMax_Lotdouble1.0Max lot size
InpSL_Pipsdouble20.0Fixed SL (pips)
InpDynamic_SLbooltrueDynamic SL beyond wick
InpSL_Buffer_Pipsdouble5.0SL Buffer beyond wick
InpTP1_RRdouble1.5TP1 Risk:Reward
InpTP2_RRdouble3.0TP2 Risk:Reward
InpTP1_ClosePercentdouble50.0TP1 close percent
InpBreakeven_After_TP1booltrueMove SL to BE after TP1
InpTrailing_StopbooltrueEnable trailing stop
InpTrail_Pipsdouble10.0Trailing step pips
InpMax_Spread_Pipsdouble30.0Max allowed spread (pips)
InpMax_Slippage_Pointsint10Max allowed slippage (points)
InpMax_Daily_Tradesint5Max daily trades
InpMax_Daily_Loss_Percentdouble3.0Max daily drawdown percent
Scalper_Settings_Groupstring=== Scalper-Specific Settings ===
InpScalper_ModebooltrueEnable scalper mode
InpScalper_TP_Pipsdouble15.0Quick scalp TP

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Pusparaj99op/CRT-TBS_MT5_EA 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

EA Scalper XAUUSD

by francomascareloai
236 stars

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

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Prop Firm EA Fleet

by cgemise971
20 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 9 months ago None stated GitHub repository of Prop Firm EA Fleet

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA
6 stars

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe. It identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle pattern

MT5 Trading robot Trend followingSMC / ICT / price actionScalping

Swift Algo Bot

by connectfazla
2 stars

This MetaTrader 5 expert advisor provides an automated trading system with two primary operation modes: a multi-confluence signal engine and a Smart Money Concepts strategy. The confluence engine aggregates signals from RSI, MACD, Bollinger Bands, and EMA crossovers, while the Smart Money mode focuses on liquidity swee

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping
Updated 5 months ago None stated GitHub repository of Swift Algo Bot

Funded EA

by Pusparaj99op
2 stars

Funded EA is a MetaTrader 5 robot designed to help users pass proprietary firm challenges by automating trade execution and risk management. It implements a Smart Money Concepts strategy, targeting XAUUSD by detecting order blocks and liquidity sweeps. The system features a calibration engine that calculates lot sizes

MT5 Trading robot SMC / ICT / price actionScalpingTrend following
Updated 5 months ago Unlicense GitHub repository of Funded EA

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