Trading robot · MT4

Pathfinder 2025

by huilige888-spec

Pathfinder 2025 is a breakout expert advisor for MetaTrader 4 that manages dynamic Buy Stop and Sell Stop orders relative to the current market price.

GitHub stars1
Forks0
Last update1 year ago23 Aug 2025
LicenceNone stated

Overview

Pathfinder 2025 continuously updates pending orders based on price movement thresholds and time intervals to capture volatility. Trade entries are filtered by candlestick body size to ensure sufficient momentum before execution. Risk controls include fixed stop loss and take profit levels, a two-stage trailing stop, and a break-even mechanism. It supports fixed or compounding lot sizes and includes an automated pause function triggered by specific currency profit targets.

Details

Author

huilige888-spec on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Breakout

Markets

Forex, Gold

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 探路者2025.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
_a1string—— 下单参数 ——
Magicint20251801魔术号
Slippageint5最大滑点
UseFixedLotsbooltrue固定手数 与 复利二选一
FixedLotsdouble0.01固定手数
EquityStepUSDdouble100复利:每 EquityStepUSD 美?
LotsPerStepdouble0.01复利:对应下单手数
MaxLotsdouble10.0最大手数上限
_a2string—— 挂单与位移 ——
BuyDistanceint100BuyStop 距现价(微点)
SellDistanceint100SellStop 距现价(微点)
BuyMoveThresholdint80多单:价格变动阈值(微点)
Show all 40 inputs
NameTypeDefaultDescription
SellMoveThresholdint30空单:价格变动阈值(微点)
MinUpdateSecondsint2同一方向挂单最小更新时间(秒)
_a3string—— OCO 与K线风控 ——
OCO_DeleteOppositeAfterFillbooltrue成交后删除反向挂单
UseCandleFilterbooltrueK线风控开?
CandleBodyMinint80上根实体>=此微点才?
_a4string—— 止盈止损(挂到挂单上) ——
TakeProfitPointsint2000止盈(微点)
StopLossPointsint200止损(微点)
_a5string—— 移动止损 ——
UseTrailingbooltrue开启移动止损
TrailResetTriggerint100盈利达到N微点后触发重置
TrailResetDistint50重置后:距市价 M 微点
TrailStepint1每盈利Y微点,止损随之位移Y微点
_a6string—— 保本平仓 ——
UseBreakEvenClosebooltrue保本平仓开?
BE_Triggerint20启动阈值(订单盈利N微点)
BE_CloseOffsetint10回撤到开仓价盈利Y微点即平仓
_a7string—— 账户盈利达标后暂停 ——
UseProfitPausebooltrue启用
ProfitTargetUSDdouble100.0启动后净盈利达到N美?
_a8string—— 交易时段(本地图表时区) ——
UseMorningboolfalse早盘开?
MorningStartstring00:00:59
MorningEndstring08:30:59
UseNoonboolfalse中盘开?
NoonStartstring08:30:59
NoonEndstring15:30:59

How to install it

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

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

Box Breakout EA

by je-zhou
27 stars

This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R

MT4MT5 Trading robot BreakoutTrend following

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario

Mad Pound Profits

by Syakyr
16 stars

Mad Pound Profits is a MetaTrader 4 expert advisor that automates trading based on structural breakouts and price action. The system utilizes time-specific analysis windows throughout the day to identify entry opportunities. It incorporates technical elements such as Fibonacci levels, momentum indicators, and mean reve

MT4 Trading robot BreakoutSMC / ICT / price actionMartingale High risk Archived
Updated 7 years ago None stated GitHub repository of Mad Pound Profits

Hybrid Swing EA

by clevergoldfox
15 stars

This MetaTrader 4 expert advisor executes a regime-gated breakout strategy specifically optimized for XRP and ETH markets. It operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approac

MT4 Trading robot BreakoutTrend following
Updated 8 months ago None stated GitHub repository of Hybrid Swing EA

Session Sauce

by jblanked
13 stars

Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Session Sauce

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