Trading robot · MT4

Pinbar EA

by idodidodi

This MetaTrader 4 expert advisor implements a price action strategy focused on identifying pin bar formations.

GitHub stars1
Forks0
Last update1 year ago3 Jan 2025
LicenceMIT

Overview

Pinbar EA screens for candles where the tail is at least three times the length of the body and touches an 8-period simple moving average. The EA utilizes a trend filter by calculating the slope of the moving average over a specific candle count. Once a valid signal is detected, the robot executes trades with fixed lot sizing, a predefined stop loss, and a take profit level.

Details

Author

idodidodi on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

SMC / ICT / price action, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

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.

EA files

Input parameters

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

NameTypeDefaultDescription
LotSizedouble0.01Lot size for orders
StopLossPipsint20Stop loss in pips
TakeProfitPipsint40Take profit in pips
TrendCandleCountint6Number of candles to determine the trend

How to install it

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

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

Siluman Kambing

by rajaculaemas
2 stars

This MetaTrader 4 expert advisor implements a multi-strategy approach for trading various currency pairs and gold. It combines technical indicators including Moving Averages, RSI, Bollinger Bands, and ADX with price action concepts such as support, resistance, and engulfing patterns. The EA features risk management too

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of Siluman Kambing
1 stars

The BU ATR Breakeven Engulfing is a MetaTrader 4 robot that executes trades based on candlestick price action and volatility indicators. It identifies entry points using bullish and bearish engulfing patterns, which are then filtered through the Relative Strength Index to confirm momentum. The system incorporates dynam

MT4 Trading robot SMC / ICT / price actionMean reversionScalping

Gold Liquidity Scalper

by amirmohamadkazemi0933
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD scalping on the M1 timeframe. It switches logic based on market regimes: in trending markets, it follows the higher timeframe direction using EMA reversals and breakout entries, while in ranging markets, it executes trades based on liquidity sweeps at price extrem

MT4 Trading robot ScalpingSMC / ICT / price actionTrend following
Updated 2 months ago None stated GitHub repository of Gold Liquidity Scalper

Liquidity EA

by badim04
1 stars

This MetaTrader 4 expert advisor automates trading based on liquidity and market structure concepts. It identifies price action landmarks like higher highs, higher lows, lower lows, and lower highs to determine current trend or ranging states. The robot executes trades with distinct stop loss and take profit settings f

MT4 Trading robot SMC / ICT / price actionMean reversionMartingale High risk
Updated 2 years ago None stated GitHub repository of Liquidity EA

Auto Zone Trader

by iamshakibulislam
1 stars

Auto Zone Trader is a MetaTrader 4 expert advisor that automates trade execution based on manually identified price zones and technical candlestick patterns. Users specify potential reversal areas by placing horizontal lines labeled for buy or sell zones on the chart. The robot monitors these levels and triggers an ord

MT4 Trading robot SMC / ICT / price actionMean reversion
Updated 4 years ago None stated GitHub repository of Auto Zone 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