Trading robot · MT4

Blessing Three

by duanwujie

This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries.

High risk

GitHub stars1
Forks0
Last update9 years ago24 Apr 2017
LicenceNone stated

Overview

Blessing Three employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk controls such as maximum drawdown limits, account equity protection, and holiday-based trading halts. It features a smart grid mechanism that calculates levels based on market conditions and provides a break-even exit for large trade baskets. The repository is minimal and lacks documentation.

Details

Author

duanwujie on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Grid, Martingale, Indicator crossover, Mean reversion, Hedging

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend
  • Holds opposite positions at once
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
TradeCommentstringBlessing 3.9.5
EANumberint1Enter a unique number to identify this EA
EmergencyCloseAllboolfalseSetting this to true will close all open orders immediately
LabelAccstringAccount Trading Settings:
ShutDownboolfalseSetting this to true will stop the EA trading after any open trades have been closed
StopTradePercentdouble10percent of account balance lost before trading stops
NanoAccountboolfalseset to true for nano "penny a pip" account (contract size is $10,000)
PortionPercentagedouble100Percentage of account you want to trade on this pair
MaxDrawDownPercentagedouble50Percent of portion for max drawdown level. 最大回撤率
MaxSpreaddouble5Maximum allowed spread while placing trades
UseHolidayShutdownbooltrueWill shutdown over holiday period
Holidaysstring18/12-01/01List of holidays, each seperated by a comma, [day]/[mth]-[day]/[mth], dates inclusive
Show all 40 inputs
NameTypeDefaultDescription
PlaySoundsboolfalsewill sound alarms
AlertSoundstringAlert.wavAlarm sound to be played
LabelIESstringIndicator / Entry Settings:
B3TraditionalbooltrueStop/Limits for entry if true, Buys/Sells if false
ForceMarketCondint3Market condition 0=uptrend 1=downtrend 2=range 3=off
UseAnyEntryboolfalsetrue = ANY entry can be used to open orders, false = ALL entries used to open orders
MAEntryint10 = Off, 1 = will base entry on MA channel, 2 = will trade in reverse
CCIEntryint00 = Off, 1 = will base entry on CCI indicator, 2 = will trade in reverse
BollingerEntryint00 = Off, 1 = will base entry on BB, 2 = will trade in reverse
StochEntryint00 = Off, 1 = will base entry on Stoch, 2 = will trade in reverse
MACDEntryint00 = Off, 1 = will base entry on MACD, 2 = will trade in reverse
LabelLSstringLot Size Settings:
UseMMbooltrueMoney Management
LAFdouble0.5Adjusts MM base lot for large accounts
Lotdouble0.01Starting lots if Money Management is off
Multiplierdouble1.4Multiplier on each level
LabelGSstringGrid Settings:
AutoCalboolfalseAuto calculation of TakeProfit and Grid size;(自动计算赢利和网格大小)
GAFdouble1.0Widens/Squishes Grid on increments/decrements of .1
EntryDelayint2400Time Grid in seconds, to avoid opening of lots of levels in fast market
EntryOffsetdouble5In pips, used in conjunction with logic to offset first trade entry
UseSmartGridbooltrueTrue = use RSI/MA calculation for next grid order
LabelTSstringTrading Settings:
MaxTradesint15Maximum number of trades to place (stops placing orders when reaches MaxTrades)
BreakEvenTradeint12Close All level, when reaches this level, doesn't wait for TP to be hit
BEPlusPipsdouble2Pips added to Break Even Point before BE closure
UseCloseOldestboolfalseTrue = will close the oldest open trade after CloseTradesLevel is reached
CloseTradesLevelint5will start closing oldest open trade at this level

How to install it

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

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Price Less EA

by exalkas
2 stars

Price Less EA is an automated trading robot for the MetaTrader 4 platform that implements a grid-based recovery strategy. It combines moving average crossovers for entry timing with a multi-level position layering system. The robot initiates trades and scales lot sizes using step-based increments at fixed distances. It

MT4 Trading robot GridIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Price Less EA
1 stars

Integra 777 Buy Sell is a MetaTrader 4 expert advisor that utilizes a grid-based approach combined with the Commodity Channel Index (CCI) for trade entries and management. The robot opens positions and adds supplementary orders at dynamic distances, governed by a minimum step parameter. It features a unique trailing pr

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Integra 777 Buy Sell

Grid Martingale TA Signals

by SrisittikumChanintorn
1 stars

This MetaTrader 4 expert advisor executes a dual-direction grid trading strategy driven by technical analysis. It enters trades based on an Exponential Moving Average crossover logic using three distinct periods. The system employs a customizable martingale sequence where lot sizes increase after a user-defined number

MT4 Trading robot Indicator crossoverGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Grid Martingale TA Signals

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