Trading robot · MT4

Repeat EA

by KeisukeIwabuchi

This MetaTrader 4 expert advisor executes trades repeatedly at a user-defined price level.

GitHub stars9
Forks3
Last update8 years ago3 Feb 2018
LicenceMIT

Overview

The robot monitors price action and opens a buy or sell position when the market reaches the specified entry price. Once a trade is closed via the designated take profit target, the EA resets and prepares to re-enter the market at the same level, provided no other positions with the same magic number are active. It includes basic settings for lot sizing and slippage. Notably, the EA does not set a stop loss by default, and the provided documentation is minimal.

Details

Author

KeisukeIwabuchi on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Trades without a fixed stop loss

Topics

mt4expert-advisorsmql4

Input parameters

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

NameTypeDefaultDescription
TypeTradeTypeBuy取引種別 (Buy or Sell)
EntryPricedouble110.0エントリー価格
TPPricedouble110.1利食い価格
MagicNumberint127マジックナンバー
Lotsdouble0.1取引数量
Slippageint10スリッページ (point)

How to install it

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

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA

HFT Arbitrage EA

by HFTHaidra
132 stars

This high-frequency trading robot implements latency arbitrage by comparing price feeds across two separate MetaTrader terminals. It requires a fast data source to serve as a reference and a slower broker where price delivery lags behind the market. The EA communicates between instances via a socket library to detect p

MT4MT5 Trading robot Arbitrage
Updated 9 months ago None stated GitHub repository of HFT Arbitrage EA

Grid EA

by sonidelav
52 stars

This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si

MT4 Trading robot GridScalping High risk
Updated 8 years ago GPL-3.0 GitHub repository of Grid EA
44 stars

SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of SuperMao Trading Robot

Free Expert Advisor

by ersingencturk
35 stars

This MetaTrader 4 expert advisor is a scalper designed for the five-minute timeframe across several Forex pairs. It utilizes three strategies based on overbought and oversold market conditions to execute trades. Risk management features include a fixed hard stop loss, a virtual take profit and stop loss derived from an

MT4 Trading robot ScalpingMean reversion
Updated 9 years ago BSD-3-Clause GitHub repository of Free Expert Advisor

XAUUSD Forex Trader

by frkn2076
31 stars

This expert advisor for MetaTrader 4 focuses on gold trading using daily price extremes and moving averages. It calculates the 7-day Simple Moving Average and identifies the highest price points from the previous five trading days to determine market direction. The EA executes its logic on a five-second timer interval

MT4 Trading robot Mean reversionBreakout
Updated 5 years ago None stated GitHub repository of XAUUSD Forex Trader

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