Trading robot · MT5

IchiDCA CCBSN PropFirm EA

by magicniuniu

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets.

High risk

GitHub stars3
Forks1
Last update6 months ago10 Mar 2026
LicenceMIT

Overview

IchiDCA CCBSN PropFirm EA triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers up to five orders at expanding distances. To protect capital, it features a partial close mechanism that secures profit at a target and trails the remaining volume. Risk management tools include daily loss limits, equity trailing, and drawdown protection, though the default settings lack a hard stop loss per trade.

Details

Author

magicniuniu on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Grid, Mean reversion, Indicator crossover, Martingale

Markets

Gold, Forex

Timeframes

M1-M5, M15-H1

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
InpMagicIDint9196Magic Number
InpLotsdouble0.01Lot Size
InpTradeDirENUM_TRADE_DIRDIR_BOTHHướng trade
InpIchiTenkanint9Ichimoku Tenkan-sen
InpIchiKijunint26Ichimoku Kijun-sen
InpIchiSenkouint52Ichimoku Senkou Span B
InpUseEMAFilterbooltrueDùng EMA Filter
InpTFEMAFilterENUM_TIMEFRAMESPERIOD_CURRENTTimeframe EMA Filter
InpEMAFastint34EMA nhanh (xu hướng)
InpEMASlowint89EMA chậm (xu hướng)
InpUseMACDFilterboolfalseDùng MACD Filter
InpTFMACDFilterENUM_TIMEFRAMESPERIOD_CURRENTTimeframe MACD Filter
Show all 40 inputs
NameTypeDefaultDescription
InpFastEMAMACDint30MACD Fast EMA
InpSlowEMAMACDint50MACD Slow EMA
InpSMAMACDint5MACD Signal SMA
InpAppliedPriceMACDENUM_APPLIED_PRICEPRICE_WEIGHTEDMACD Applied Price
InpUseDCAbooltrueBật DCA
InpDCADistancedouble10.0Khoảng cách DCA (pips)
InpDCADistMultidouble1.2Hệ số nhân khoảng cách DCA
InpMaxDCAOrdersint5Số lệnh DCA tối đa
InpDCALotMultidouble1.0Hệ số nhân lot DCA (1.0 = lot cố định)
InpDCATPPipsdouble50.0TP chuỗi DCA (pips)
InpDCANeedSignalbooltrueDCA phải cùng trend Ichimoku
InpDCAOutTimebooltrueCho DCA ngoài giờ trade
InpUseSniperbooltrueBật Sniper tỉa lệnh
InpOrders2StartSniperint20Số lệnh kích hoạt Sniper
InpFirstOrdersSniperint2Số lệnh đầu chuỗi để tỉa
InpPercentSniperdouble10.0% profit tối thiểu để tỉa
InpTPSniperdouble5.0TP pips sau khi tỉa
InpMaxSpreaddouble3.0Max Spread (pips)
InpMaxDrawdownMoneydouble0.0Max DD tiền ($, 0=tắt)
InpMaxDrawdownPctdouble0.0Max DD % (0=tắt)
InpDailyLossLimitdouble0.0Giới hạn lỗ ngày ($, 0=tắt)
InpDailyProfitTargetdouble0.0Mục tiêu lời ngày ($, 0=tắt)
InpTPPipsdouble10.0TP lệnh đơn (pips)
InpSLPipsdouble0.0SL lệnh đơn (pips, 0=không SL)
InpUseEquityTrailboolfalseBật Equity Trailing
InpEquityTrailStartdouble15.0Equity trail kích hoạt ($)
InpEquityTrailStepdouble5.0Equity trail step ($)
InpUsePartialClosebooltrueBật chốt nửa (CCBSN)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone magicniuniu/trade-quy-v2 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

Fibonacci ICT EA

by Shifrozy
2 stars

Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per

MT5 Trading robot SMC / ICT / price actionIndicator crossoverMean reversion High risk
Updated 3 weeks ago None stated GitHub repository of Fibonacci ICT EA

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303
1 stars

This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli

MT5 Trading robot Mean reversionGridMartingale High risk

Arbitrage Grid Bot

by AlessandroGCodeca
1 stars

This MetaTrader 5 expert advisor implements a multi-pair grid and dollar-cost averaging strategy. It monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 5 months ago None stated GitHub repository of Arbitrage Grid Bot

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