Trading robot · MT4

Ubot

by kudzaiprichard

Ubot is an automated trading system for MetaTrader 4 that utilizes the Traders Dynamic Index (TDI) indicator to execute market entries.

GitHub stars15
Forks2
Last update2 years ago14 Oct 2023
LicenceCustom licence

Overview

Ubot identifies specific technical patterns described as sharkfin and squeeze setups to determine trend direction and volatility. The expert advisor features advanced trade management tools, including automated trailing stops, break-even logic, and a multi-stage position scaling system. Risk is controlled via hard stop losses and take profit levels. Additionally, the EA provides an on-chart dashboard for real-time monitoring of trade status and account metrics.

Details

Author

kudzaiprichard on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

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.

Topics

botmql4mt4object-oriented-programmingprogrammingtradingtrading-algorithmstrading-bot

Input parameters

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

NameTypeDefaultDescription
InpTakeProfitint0
InpStopLossint900
InpLotSizedouble0.01
InpPositionsint1
InpTrailProfitint170
InpSharkfinStopLossint900
InpScaleOnProfitdouble0.5
InpFirstScalePositionsint2
InpSecondScalePositionsint1
InpThirdScalePositionsint1
InpScaleTakeProfitint2000
InpFirstScaleStopLossint500
Show all 15 inputs
NameTypeDefaultDescription
InpSecondScaleStopLossint500
InpThirdScaleStopLossint500
InpAllowBreakEvenbooltrue

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone kudzaiprichard/ubot-mt4 from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 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

Heiken Ashi Naive

by EarnForex
17 stars

Heiken Ashi Naive is a trading robot for MetaTrader 4 and 5 that executes trades based on Heiken Ashi candle characteristics, including body length and wick presence. It evaluates candle sequences to enter positions and can be configured to either follow the trend or operate in an inverted mode for mean-reversion. Risk

MT4MT5 Trading robot Trend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Heiken Ashi Naive

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA
11 stars

This MetaTrader 4 expert advisor automates trading by combining the Relative Strength Index (RSI) with Ichimoku Kumo signals. It scans every instrument listed in the Market Watch window to identify entries across multiple pairs simultaneously. The robot includes a built-in spread filter to avoid high-cost executions an

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of RSI Ichimoku Trader Bot
10 stars

This MetaTrader 4 expert advisor implements a reversal and trend-following strategy based on SOMAT3 and IRC Triplets indicators. It evaluates price action across consecutive bars to identify entries and offers an optional trend filter for signal validation. The system manages risk using fixed lot sizing, initial stop l

MT4 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of PhD Appsolute System

OwaisQuadri MT4 Code

by OwaisQuadri
6 stars

This MetaTrader 4 expert advisor executes trades based on momentum oscillators, trend filters, and price action patterns. It utilizes a Stochastic oscillator alongside multiple Exponential Moving Averages to identify entry points in alignment with the prevailing trend. The logic incorporates candlestick analysis, speci

MT4 Trading robot Indicator crossoverTrend followingMean reversion
Updated 6 years ago None stated GitHub repository of OwaisQuadri MT4 Code

Sanqing EA

by caoruihua
3 stars

An automated trading system for MetaTrader 4 specifically designed for gold (XAUUSD) on the M5 timeframe. It features two core strategies: trend continuation and price pullbacks. The expert advisor utilizes a dual exponential moving average framework for direction and ATR for volatility filtering. Risk management is ha

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 5 months ago None stated GitHub repository of Sanqing EA

More trading robots

Need a broker for MT4?

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

Compare brokers