Trading robot · MT5

TCGS Trading Machine

by draconuzb

TCGS Trading Machine is an automated scalping and trend-following expert advisor for MetaTrader 5.

High risk

GitHub stars1
Forks0
Last update1 year ago8 Sep 2025
LicenceNone stated

Overview

TCGS Trading Machine uses a scoring system based on up to eight technical indicators, including EMA crossovers, RSI, ADX, Stochastic, and Bollinger Bands, to open trades once a pre-defined signal strength threshold is met. The robot supports an aggressive trading mode with up to five concurrent positions. Risk is managed through adjustable stop loss, take profit, dynamic trailing stops, and automatic lot sizing based on account balance percentage. The EA features an on-screen dashboard, a time filter to avoid weekend gaps, and automatic opposite-position closing.

Details

Author

draconuzb on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Scalping, Indicator crossover, Martingale

Markets

Forex, Gold

Timeframes

M1-M5, M15-H1

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Input Parameters

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

NameTypeDefaultDescription
AGGRESSIVE_MODEbooltrueAGGRESSIVE TRADING MODE
MULTIPLE_POSITIONSbooltrueMultiple Positions Allowed
MAX_POSITIONSint3Maximum Positions (1-5)
PROFIT_MULTIPLIERdouble2.0Profit Multiplier (1.5-3.0)
SCAN_TIMEFRAMEENUM_TIMEFRAMESPERIOD_CURRENTScanning Timeframe (use chart timeframe by default)
EMA_FASTint8Fast EMA (5-12)
EMA_SLOWint21Slow EMA (18-25)
RSI_PERIODint12RSI Period (10-14)
ADX_PERIODint12ADX Period (10-14)
VOLATILITY_PERIODint15Volatility Period
RSI_BUY_LEVELdouble35RSI Buy Level (25-40)
RSI_SELL_LEVELdouble65RSI Sell Level (60-75)
Show all 37 inputs
NameTypeDefaultDescription
ADX_MIN_LEVELdouble15ADX Minimum Level (10-20)
USE_PRICE_ACTIONbooltrueUse Price Action Confirmation
USE_MOMENTUMbooltrueUse Momentum Filter
SCALPING_MODEbooltrueEnable Scalping Mode
BASE_LOT_SIZEdouble0.01Base Lot Size
AUTO_LOT_SIZINGbooltrueAuto Lot Sizing
RISK_PER_TRADEdouble1.0Risk Per Trade %
MAX_TOTAL_RISKdouble3.0Max Total Risk %
COMPOUND_PROFITSbooltrueCompound Profits
TP_PIPSdouble25Take Profit (pips)
SL_PIPSdouble15Stop Loss (pips)
USE_TRAILING_STOPbooltrueUse Trailing Stop
TRAILING_STARTdouble10Trailing Start (pips)
TRAILING_STEPdouble3Trailing Step (pips)
CLOSE_OPPOSITEbooltrueClose Opposite Positions
TIME_FILTERboolfalseEnable Time Filter (disabled by default for Tester)
START_HOURint1Start Hour (GMT)
END_HOURint23End Hour (GMT)
AVOID_FRIDAY_CLOSEbooltrueAvoid Friday Close
AVOID_WEEKEND_GAPSbooltrueAvoid Weekend Gaps
SHOW_DASHBOARDbooltrueShow Trading Dashboard
SEND_NOTIFICATIONSboolfalseSend Push Notifications
SEND_EMAILSboolfalseSend Email Alerts
MAGIC_NUMBERint888888Magic Number
DEBUG_LOGbooltrueDebug logging (Tester helper)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone draconuzb/ROBOT-MT5 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

EA Scalper XAUUSD

by francomascareloai
237 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

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

Scalpflip EA

by anthonycdp
25 stars

Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Scalpflip EA

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

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro

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