Trading robot · MT5

Punlie Bull Run

by punlie

Punlie Bull Run is a trend-following expert advisor for MetaTrader 5 that focuses on bullish market phases.

High risk

GitHub stars1
Forks0
Last update1 year ago14 Aug 2025
LicenceMIT

Overview

Punlie Bull Run employs a grid strategy, opening buy positions at fixed point intervals once specific conditions are met. The robot includes a trend filter based on the daily timeframe and a resistance price barrier to delay entries until a breakout occurs. Risk management is handled through a global profit or loss closer, trailing stops, and a break-even stop loss function. Because the repository lacks a README, functionality is inferred from the code parameters.

Details

Author

punlie on GitHub

Type

Trading robot

Markets

Any symbol

Timeframes

M15-H1

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend
  • Trades without a fixed stop loss

Input Parameters

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

NameTypeDefaultDescription
InpMagicNumberlong123456Magic Number
enable_time_startboolfalseEnable Start Time
time_startstring14:00Start Time (HH:MM)
InpGridLengthint200Grid Length (point)
InpTrendUpboolfalseTrade only in Uptrend
InpTrendTimeframeENUM_TIMEFRAMESPERIOD_D1Timeframe for trend check
InpResistancePricedouble0.0เริ่มส่ง Buy grid เมื่อ Bid >= ราคานี้
InpLotSizedouble0.01Lot Size
CloseAllboolfalseClose All Positions by Profit/Loss
CloseAllValuedouble100.0Close All Value (USD, can be negative)
TrailingStopboolfalseEnable Trailing Stop
trailingstopdouble20.0Trailing Stop (pips)
Show all 14 inputs
NameTypeDefaultDescription
SLevenbooltrueEnable Break-Even SL
SLevenpipdouble100.0Minimum gap from Bid to SL (pips)

How to Install It

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

Prem Gold Advisor

by Premkumar238
13 stars

Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Prem Gold Advisor

Punlie Grid

by punlie
10 stars

Punlie Grid is a MetaTrader 5 expert advisor that executes a grid trading strategy tailored for gold, crude oil, and cryptocurrencies. It places orders at fixed point intervals and features a trend-following filter that uses daily timeframe data to align trades with the prevailing market direction. Risk controls includ

MT5 Trading robot GridTrend following High risk
Updated 1 year ago MIT GitHub repository of Punlie Grid

Smart Grid Martingale EA

by chenhengyi53-design
9 stars

This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an

MT5 Trading robot GridMartingaleTrend following High risk
Updated 9 months ago None stated GitHub repository of Smart Grid Martingale EA

MarketSync EA

by sajidmahamud835
6 stars

MarketSync EA is an experimental MetaTrader 5 expert advisor designed to bridge algorithmic trading with external artificial intelligence. It functions by streaming real-time market and account data from the MT5 terminal to a local Node.js backend via HTTP requests. The external server processes this information using

MT5 Trading robot AI / machine learningGridTrend following High risk
Updated 10 months ago MIT GitHub repository of MarketSync EA

EA XAUUSD Premium

by diditgravatar
4 stars

This MetaTrader 5 expert advisor is designed for gold trading, utilizing a multi-timeframe strategy across the M15, H1, and H4 charts. It integrates technical indicators including ADX, RSI, and Moving Averages to identify trend-following and breakout opportunities. Risk controls include dynamic lot sizing based on acco

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of EA XAUUSD Premium

Gold Scalper Bot

by bigthreeatone
3 stars

This MetaTrader 5 expert advisor is designed for aggressive trading on XAUUSD, focusing on the 5-minute and 15-minute timeframes. It utilizes Fibonacci retracements and swing high/low breakouts to identify entries across three selectable modes: scalp, swing, and trend following. The system manages up to three positions

MT5 Trading robot ScalpingBreakoutTrend following High risk
Updated 4 months ago None stated GitHub repository of Gold Scalper Bot

More grid EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers