Trading robot · MT4

Profit Hunter

by phpkadir

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading.

High risk

GitHub stars5
Forks1
Last update4 years ago27 Jan 2022
LicenceNone stated

Overview

Profit Hunter utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or calculated dynamically using standard deviation. It includes a martingale lot-scaling mechanism that can increase position sizes in both trend and counter-trend directions. The EA supports simultaneous buy and sell positions for hedging. Risk management features trailing profits and money management, though it typically operates without a functional stop loss.

Details

Author

phpkadir on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Grid, Martingale, Hedging, Multi-strategy

Markets

Forex, Crypto

Timeframes

M15-H1, H4 and above

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 Profithunter.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
TradeShortbooltrueAllow place sell ordes
TradeLongbooltrueAllow place buy orders
UseTMAboolfalseTriple moving average
MAperiodint240
UseARSIbooltrueAdaptive RSI
RSI_periodint5TF for ARSI
RSI_barsint28lenght of ARSI
ARSI_triggerdouble0level to trigger trade. If = 0 will be used ATR as automatic trigger level
UseCCIboolfalse
CCI_Periodint60CCi time frame
CCI_lenghtint60CCI bars
cci_triggerint25+/- level. lower value = enter in trade faster
Show all 40 inputs
NameTypeDefaultDescription
Use_iTrendbooltrue
iTrendPeriodint60iTrend TF
Use_Fisherbooltrue
FisherPeriodint60Fisher TF
Fisher_Barsint10Fisher indicator bars
Buy_Enter_Leveldouble1.5Buy enter level
Sell_Enter_Leveldouble-1.5Sell enter level
ReverseDirectionbooltruetrue = will trade long when price is low and short and price is high. false = will trade long when price is high and sho
MoneyMangementbooltruewill autocalculate lot size, lot increment and profit target
MicroAccountboolfalsewill divide LotSize by 10
MaximumRiskdouble0.11 mean 0.1% of balance
LotSizedouble0.1NULL if MoneyMangement is true
LotIncrementdouble0.1NULL if MoneyMangement is true
Multiplierdouble0Will increase orders in Martingale fashion in direction of trend if set to "1". Used with TrendSpacing only.
CounterTrendMultiplierdouble0Will increase orders in Martingale fashion in opposite direction of trend if set to "1". Used with Spacing only.
ProfitTargetdouble10All orders closed when this profit target amount (in dollars) is reached
ProfitSkewdouble2Increase/decrease ProfitTarget when MoneyMangement=true
ProfitModeint11= mixed mode, 2= global mode, 3= split mode
ProfitTrailingbooltrueWill try to allow profit grow beyond ProfitTarget
MaxRetracedouble2Maximum percent of MaxProfit allowed to decrease before close all orders
ForcedStartint01 = New cycle will start if signal is for long, 2 = New cycle will start if signal is for short, 0 = disabled
SLdouble999Performs better with no initial stoploss.
AutoSpacingbooltrueSpacing will be calculated using stdDev
StDevTFint60TF for StDev
StDevPerint14lenght of StDev
StDevModeintMODE_EMAmode of StDev - 0=SMA, 1=EMA, 2=SMMA, 3=LWMA
Spacingint15Minimum distance of orders placed against the trend of the initial order, In effect only if AutoSpacing=false
TrendSpacingint15Minimum distance of orders placed with the trend of the initial order (set to 1000 to disable )

How to install it

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

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
1 stars

This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage

MT5 Trading robot AI / machine learningMulti-strategyScalping High risk

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

Oanda TDesk Drone

by LonnieCoffman
4 stars

Oanda TDesk Drone is a MetaTrader 4 expert advisor designed to execute trades based on signals from the TDesk dashboard via the Oanda FXtrade platform. It functions as a bridge, using an external Python script and file-based data exchange to facilitate order placement. The EA is specifically designed to support fractio

MT4 Trading robot Multi-strategyGridHedging High risk
Updated 7 years ago None stated GitHub repository of Oanda TDesk Drone

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

Ario Averaging

by ariogunawan
2 stars

This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of Ario Averaging

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