Trading robot · MT4

Monkey Attack Gold Pivot EA

by Monkeyattack

This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones.

High risk

GitHub stars10
Forks6
Last update1 year ago29 Jul 2025
LicenceNone stated
Latest releasev2.011 year ago

Overview

The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk controls such as ATR-based dynamic stop losses, trailing stops, and automatic lot sizing. A specific protection mechanism reduces position sizes after consecutive losses. The interface provides visual overlays for pivot levels, buy/sell zones, and a real-time settings panel for monitoring performance.

Details

Author

Monkeyattack on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Mean reversion, Indicator crossover, Martingale

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Input Parameters

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

NameTypeDefaultDescription
ShowPivotLevelsbooltrueShow pivot lines on chart
ShowBuySellZonesbooltrueShow potential buy/sell areas
ShowSettingsPanelbooltrueShow settings overlay
ShowSignalArrowsbooltrueShow buy/sell signal arrows
ShowSRLevelsbooltrueShow support/resistance levels
PivotColorcolorclrYellowColor for pivot lines
SupportColorcolorclrLimeColor for support levels
ResistanceColorcolorclrRedColor for resistance levels
BuyZoneColorcolorclrGreenColor for buy zones
SellZoneColorcolorclrPinkColor for sell zones
LotSizedouble0.01Lot size for trades
UseAutoLotSizingbooltrueUse automatic lot sizing
Show all 40 inputs
NameTypeDefaultDescription
RiskPercentdouble1.5Risk percentage per trade
MagicNumberint99999Magic number for trade identification
TradeCommentstringMonkeyAttack_PivotComment for trades
SR_Lookback_Periodint20Lookback period for S/R calculation
ATR_Periodint14ATR period for volatility
ATR_Multiplierdouble2.0ATR multiplier for dynamic stops
Pivot_Strengthint10Strength for pivot point detection
Use_Daily_PivotsbooltrueUse daily pivot points
Use_Weekly_PivotsbooltrueUse weekly pivot points
Fractal_Periodint10Period for fractal detection
RSI_Periodint21RSI period
RSI_Overboughtint65RSI overbought level (LIVE OPTIMIZED)
RSI_Oversoldint35RSI oversold level (LIVE OPTIMIZED)
MACD_Fastint12MACD fast EMA
MACD_Slowint26MACD slow EMA
MACD_Signalint9MACD signal line
MA_Fastint20Fast moving average
MA_Slowint50Slow moving average
UseVolatilityFilterbooltrueEnable volatility filtering
VolatilityThresholddouble1.3Volatility threshold multiplier
VolatilityPeriodint20Period for volatility calculation
MaxSpreaddouble7.0Maximum spread in points
UseDynamicStopsbooltrueUse dynamic stop loss/take profit
MinStopLossdouble250Minimum stop loss in points
MaxStopLossdouble600Maximum stop loss in points
RiskRewardRatiodouble2.5Risk:Reward ratio
UseTrailingStopbooltrueEnable trailing stop
TrailingMultiplierdouble1.8Trailing stop ATR multiplier

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Monkeyattack/monkeyattack-gold-pivot-ea 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

Puer Tigris

by PuerTigris
1 stars

Puer Tigris is a MetaTrader 4 expert advisor that implements multiple entry strategies, primarily focusing on Bollinger Bands mean reversion. It features a martingale lot scaling system where position sizes are multiplied after a trade is closed, with a configurable limit on the number of recovery levels. The robot use

MT4 Trading robot MartingaleMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Puer Tigris
1 stars

This expert advisor for MetaTrader 4 is a multi-strategy robot focused on the recovery zone management technique. It offers a wide array of entry signals, including RSI, MACD, Bollinger Bands, and mean-reversion models. When initial trades move into a loss, the system employs an averaging recovery strategy with lot mul

MT4 Trading robot Multi-strategyMean reversionIndicator crossover High risk

Axuusd Gold Advisor

by damozycodes
1 stars

This expert advisor is designed specifically for trading gold on the MetaTrader 4 platform. It employs a hybrid strategy approach, allowing users to toggle between trend following using moving average crossovers, mean reversion via RSI and Stochastic divergence, and breakout patterns. Trade management includes automate

MT4 Trading robot Trend followingMean reversionBreakout High risk
Updated 8 months ago None stated GitHub repository of Axuusd Gold Advisor

Vforce EA

by ggalboud
1 stars

Vforce EA is a versatile trading robot for MetaTrader 4 that utilizes a wide array of technical indicators to identify entry points. It integrates Stochastic, RSI, ADX, MACD, and Bollinger Bands, allowing traders to enable or disable specific signals via input parameters. The system manages risk through fixed lot sizin

MT4 Trading robot Indicator crossoverTrend followingMean reversion High risk
Updated 9 years ago None stated GitHub repository of Vforce EA

Blessing Three

by duanwujie
1 stars

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. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Blessing Three
1 stars

Strawberry Strategy Tester is a MetaTrader 4 expert advisor designed for automated trading and strategy evaluation. It implements Bollinger Band-based entry logic and offers multiple lot sizing methods, including fixed lots, addition, and multiplication. The use of lot multiplication suggests the expert advisor utilize

MT4 Trading robot Indicator crossoverMartingaleGrid High risk
Updated 3 years ago None stated GitHub repository of Strawberry Strategy Tester

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