Trading robot · MT4

Simple System MQL4

by jnietosa

This MetaTrader 4 expert advisor executes trades based on price movement relative to a specific daily start hour.

GitHub stars2
Forks1
Last update7 years ago11 Jan 2019
LicenceNone stated

Overview

Simple System MQL4 functions by comparing current prices to historical hourly opens, seeking specific pip deviations to trigger entries. The EA includes risk management features such as fixed lot sizing, hard stop loss, take profit, and an optional trailing stop. Users can also enable a Moving Average filter to ensure trades align with the long-term trend. The repository provides an educational implementation of a basic algorithmic trading strategy.

Details

Author

jnietosa on GitHub

Type

Trading robot

Markets

Forex

Timeframes

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 SimpleSystem v9.0.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
StartHourint9
MinPipLimitint0
TakeProfitint40
StopLossint40
Lotsdouble1
UseMAFilterboolfalse
MA_Periodint100
Magicint59789101
ECNExecutionboolfalse
UseTrailingSLboolfalse
TrailValueint40
AutoAdjustTo5Digitsboolfalse

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone jnietosa/algorithmic_trading 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
18 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

Ubot

by kudzaiprichard
15 stars

Ubot is an automated trading system for MetaTrader 4 that utilizes the Traders Dynamic Index (TDI) indicator to execute market entries. It identifies specific technical patterns described as sharkfin and squeeze setups to determine trend direction and volatility. The expert advisor features advanced trade management to

MT4 Trading robot Trend followingMean reversion
Updated 3 years ago Custom licence GitHub repository of Ubot

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

More mean-reversion EAs

Related on ForexR

Need a Broker for MT4?

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

Compare MT4 brokers