Trading robot · MT4

HGSS Candle Bob

by odrisb

HGSS Candle Bob is an automated trading system for MetaTrader 4 that identifies trade setups using candle sequences and external library signals.

GitHub stars1
Forks0
Last update7 years ago14 Oct 2018
LicenceNone stated

Overview

HGSS Candle Bob evaluates market conditions via the HGI library to detect trends and ranges, allowing for both trend-following and pullback strategies. Risk management includes fixed lot sizing, equity-based calculation, and a basket trading mode. The EA can manage multiple open positions simultaneously and includes filters for support and resistance zones. It supports custom stop loss and take profit configurations based on pip values or price action.

Details

Author

odrisb on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Mean reversion, Multi-strategy

Markets

Any symbol

Timeframes

M15-H1, H4 and above

Risk profile

  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
genstring----General inputs----
TradingTimeFrameENUM_TIMEFRAMESPERIOD_H1
LookForNewTradeCycleENUM_TIMEFRAMESPERIOD_M15
Lotdouble0.01
RiskPercentdouble0Set to zero to disable and use Lot
LotsPerDollopOfCashdouble0Over rides Lot. Zero input to cancel.
SizeOfDollopdouble1000
UseBalanceboolfalse
UseEquitybooltrue
StopTradingboolfalse
TradeLongbooltrue
TradeShortbooltrue
Show all 40 inputs
NameTypeDefaultDescription
TakeProfitPipsint0
StopLossPipsint0
MagicNumberint54321
TradeCommentstringHGSSCB
IsGlobalPrimeOrECNCriminalbooltrue
MaxSlippagePipsdouble5
PostTradeAttemptWaitSecondsint600Defaults to 10 minutes
WriteFileForTestDatabaseboolfalse
sep2string============================================================
spcstring---- Candle inputs ----
NoOfCandlesint2
UseCandleSequenceForSLboolfalse
RatioOfSlForTPdouble2Default ratio is double the SL. Zero value disables this.
PercentageOfSlForTPdouble0A percentage of the SL for the TP. Zero value disables this.
MaxTradesAllowedint3For multi-trade EA's
CloseTradesOnOppositeSignalbooltrueClose buys on a sell signal and vice versa
pbtstring-- Pullback trading --
TradeThePullbackbooltrueAllows trade in the opposite direction to the main trading direction
OnlyTradeThePullbackboolfalse
NoOfCandlesToMeasurePullbackint2
PullbackTradeStopLossPipsint0
PullbackTradeTakeProfitPipsint0
mdtstring-- Distance between trades --
MinDistanceBetweenTradesdouble10
sep2astring============================================================
basstring---- Basket trading ----
BasketTradingbooltrueThis will send the trades without stop loss or take profit
BasketTakeProfitPipsint0Zero to disable

How to install it

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

Edelweiss EA

by Attornado
3 stars

Edelweiss EA is an educational trading robot for MetaTrader 4 that utilizes a multi-indicator framework to generate buy and sell signals. It combines exponential moving averages, stochastic oscillators, the awesome oscillator, ADX, and Bollinger Bands to identify market entries. Trade management includes dynamic ATR-ba

MT4 Trading robot Indicator crossoverMean reversionTrend following
Updated 11 months ago MIT GitHub repository of Edelweiss EA

Triple Shield EA

by vasiliykulik
1 stars

This MetaTrader 4 expert advisor implements a multi-timeframe trading strategy focused on price wave analysis and trendline rebounds. It monitors market deviations across M1, M5, and M15 intervals to identify entry points based on specific wave patterns. The system includes various risk controls such as fixed stop loss

MT4 Trading robot Mean reversionMulti-strategyTrend following
Updated 3 years ago None stated GitHub repository of Triple Shield EA

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Autumn Harvest

by wait4signal
8 stars

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l

MT5 Trading robot Mean reversionTrend followingMulti-strategy
Updated 1 year ago GPL-3.0 GitHub repository of Autumn Harvest

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

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