Trading robot · MT4 · MT5

Gotobi Basic EA

by harukihosono

Gotobi Basic EA is a trading robot for MetaTrader 4 and MetaTrader 5 designed to exploit the Japanese Gotobi anomaly.

GitHub stars1
Forks0
Last update10 months ago14 Nov 2025
LicenceNone stated

Overview

Gotobi Basic EA targets days divisible by five, when demand for the US Dollar typically increases among Japanese firms for settlement. The EA enters a long position at the market open, closes it at the 9:55 AM Nakane fixing, and then initiates a short trade until 3:00 PM. It features spread filters and adjustable weekday settings but operates without hard stop loss or take profit orders.

Details

Author

harukihosono on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Strategy

News

Markets

Forex

Timeframes

M15-H1

Risk profile

  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
Comment_Basicstring+--- 基本設定 ---+
MagicNumberint20251114マジックナンバー
LotSizedouble0.01ロットサイズ
TradeCommentstringGotobi取引コメント
Comment_Triggerstring+--- トリガー設定 ---+
EnableFridayboolfalse金曜日エントリーを有効にする
EnableMaedashiGotobibooltrue前倒しゴトー日を有効にする(翌日or翌?
Comment_Longstring+--- 曜日別ロングエントリー ---+
Monday_Long_Enableboolfalse月曜日 ロング有効
Tuesday_Long_Enablebooltrue火曜日 ロング有効
Wednesday_Long_Enablebooltrue水曜日 ロング有効
Thursday_Long_Enablebooltrue木曜日 ロング有効
Show all 26 inputs
NameTypeDefaultDescription
Friday_Long_Enablebooltrue金曜日 ロング有効
Comment_Shortstring+--- 曜日別ショートエントリー ---+
Monday_Short_Enablebooltrue月曜日 ショート有効
Tuesday_Short_Enablebooltrue火曜日 ショート有効
Wednesday_Short_Enablebooltrue水曜日 ショート有効
Thursday_Short_Enablebooltrue木曜日 ショート有効
Friday_Short_Enablebooltrue金曜日 ショート有効
Comment_Spreadstring+--- スプレッド・スリッページ設定 ---+
MaxSlippagePointsint10最大許容スリッページ(ポイント)
MaxSpreadPointsint50最大許容スプレッド(ポイント)
Comment_Timestring+--- 時間設定 ---+
set_timeuse_timesGMT9時間取得方法
natuint6夏時間オフセット(バックテスト用)
huyuint7冬時間オフセット(バックテスト用)

How to install it

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

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337
9 stars

This MetaTrader 5 expert advisor is designed for high-impact news trading on the forex market. It uses a straddle strategy, placing buy stop and sell stop pending orders at specific pre-set times before news releases. The EA supports multiple layered entries, often referred to as barcode entries, at fixed pip distances

MT5 Trading robot NewsScalping
Updated 3 years ago None stated GitHub repository of Fundamental News Scalper
9 stars

This MetaTrader 5 expert advisor collection provides multiple variants for scalping gold on the one-minute timeframe. It utilizes a combination of Stochastic Oscillator crossovers and linear regression analysis to identify trend quality and entry points. Trade management is handled through ATR-based dynamic stop loss a

MT5 Trading robot ScalpingTrend followingMean reversion

Falcon S

by vzhomeexperiments
6 stars

Falcon S is a rule-based expert advisor for MetaTrader 4 designed to execute trades based on external sentiment analysis data. It functions as a production bridge for decisions generated in external environments like R, reading trade triggers from CSV files. The robot operates primarily on the H1 timeframe with schedul

MT4 Trading robot NewsAI / machine learning
Updated 7 years ago MIT GitHub repository of Falcon S

HLT Auto Trader

by GeorgVahi
6 stars

HLT is an automated trading robot for MetaTrader 5 that focuses on market structure and swing analysis across multiple timeframes from M1 to H4. The expert advisor synchronizes with New York time and identifies setups based on price swings and daily trading plans. It includes a fixed risk money management module and sp

MT5 Trading robot SMC / ICT / price actionNews
Updated 3 months ago None stated GitHub repository of HLT Auto Trader

OrderBlock ICT

by cfournel
3 stars

This MetaTrader 5 expert advisor implements Inner Circle Trader concepts, specifically focusing on Order Blocks and PD Arrays for trade entries. The robot identifies price action structures including breakouts, range-based patterns, and Fibonacci extensions. For risk management, it utilizes ATR-based stop losses, trail

MT5 Trading robot SMC / ICT / price actionBreakoutNews
Updated 3 months ago None stated GitHub repository of OrderBlock ICT

More trading robots

Need a broker for MT4/MT5?

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

Compare brokers