Trading robot · MT4

Engulfing Pattern EA

by JaydenTan98

This expert advisor for MetaTrader 4 executes trades based on the engulfing candle pattern, a classic price action signal.

GitHub stars1
Forks0
Last update6 years ago8 Jan 2020
LicenceNone stated

Overview

Engulfing Pattern EA identifies scenarios where the current candle completely covers the previous candle's range and filters entries using a Moving Average to ensure alignment with the prevailing trend. The EA places pending stop orders and manages risk through either fixed lot sizes or a balance-based risk percentage. It automatically calculates stop loss and take profit levels relative to the signal candle size and includes a feature to delete unfilled orders after a set number of bars.

Details

Author

JaydenTan98 on GitHub

Type

Trading robot

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.

Input Parameters

Read from Engulfing Pattern EA v1.2.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
s0string________ EA Settings ________________
Lots_CalMoneyManagementOptionsRiskPercentLots Calculation Mode
Fixed_Lotsdouble1.0Fixed Lot
Risk_Percdouble0.25Risk %
SL_Multiply_Factordouble1SL Multiply factor
TP_Multiply_Factordouble1TP Multiply factor
Number_Of_Candlesint15Delete Stop Order After "X" bars
set2string________ MA Setting ________________
Ma_Periodint10Period
Ma_MethodENUM_MA_METHODMODE_EMAMA Method
Ma_Shiftint0Shift
Ma_AppliedENUM_APPLIED_PRICEPRICE_CLOSEApplied Price

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone JaydenTan98/MT4-Engulifing-Candle 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

Price Action Expert

by nasimalsajjad
6 stars

Price Action Expert is a MetaTrader 4 robot that automates trade execution by combining Fibonacci levels with candlestick pattern analysis. The EA identifies the prevailing market trend through Fibonacci ratios and seeks entry signals using pin bars, engulfing patterns, and morning star formations. It features automate

MT4 Trading robot Trend followingSMC / ICT / price action
Updated 8 years ago None stated GitHub repository of Price Action Expert

Copilot EA

by SeanEstey
3 stars

Copilot is a MetaTrader 4 expert advisor designed to replicate human price action analysis through market structure mapping. The robot identifies swing highs and lows, representing them as a graph of nodes to track trends, impulses, and retracements. It incorporates higher time frame support and resistance levels into

MT4 Trading robot SMC / ICT / price actionTrend following
Updated 7 years ago None stated GitHub repository of Copilot EA

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

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 3 months ago None stated GitHub repository of Gold Liquidity Scalper

Susu Engulf

by Chongcharen
1 stars

Susu Engulf is a MetaTrader 4 expert advisor that automates trading based on engulfing candlestick patterns and technical indicators. It utilizes a combination of MACD and five distinct moving averages to determine trend direction and entry points. The EA manages risk through a maximum order limit and a money managemen

MT4 Trading robot Trend followingSMC / ICT / price actionGrid High risk
Updated 9 years ago None stated GitHub repository of Susu Engulf

Mveuuh Gold

by Nziikang
1 stars

Mveuuh Gold is an automated MetaTrader 4 expert advisor designed specifically for trading XAUUSD. It utilizes a multi-layered trend filtering system based on three Exponential Moving Averages and the Average Directional Index to determine entry direction. The EA employs a grid-based pyramid strategy, opening additional

MT4 Trading robot Trend followingGridMartingale High risk
Updated 6 weeks ago None stated GitHub repository of Mveuuh Gold

More trend-following EAs

Related on ForexR

Need a Broker for MT4?

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

Compare MT4 brokers