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

Platform

MetaTrader 5 (MQL5)

Strategy

Grid, Trend following

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

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
8 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 7 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 8 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

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

More trading robots

Need a broker for MT5?

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

Compare brokers