Trading robot · MT5

Newton Fx

by Ralarcon88

Newton Fx is an automated trading system for MetaTrader 5, specifically configured for the gold market on the fifteen-minute timeframe.

GitHub stars2
Forks0
Last update4 months ago27 Apr 2026
LicenceNone stated

Overview

Newton Fx identifies entries using a combination of exponential moving average crossovers, ADX trend strength verification, and Fibonacci retracement levels. The robot manages risk through ATR-based dynamic stop loss and take profit levels, along with daily and weekly drawdown kill switches. Trade management features include partial closures, trailing stops, and break-even adjustments. The absence of a README suggests users should rely on the documented input parameters for configuration.

Details

Author

Ralarcon88 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Indicator crossover

Markets

Gold

Timeframes

M15-H1

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.

EA Files

Input Parameters

Read from NewtonFx4.0.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
LotSizedouble0.02Fixed Lot Size
UseRiskPercentboolfalseUse Risk % Instead of Fixed Lots
RiskPercentdouble0.025Risk % of Equity Per Trade
MaxTradesPerDayint8Max Trades Per Day
DailyStopPctdouble4.5Daily Max Drawdown % (kill switch)
WeeklyStopPctdouble9.5Weekly Max Drawdown % (kill switch)
EMA_FastLenint37EMA Fast Period
EMA_SlowLenint167EMA Slow Period
ADX_Lenint8ADX Period
MinADXdouble36.0ADX Minimum Threshold
MinVolRatiodouble1.27Relative Volume Minimum
Fibo_Lenint10Fibonacci Lookback Bars
Show all 40 inputs
NameTypeDefaultDescription
FiboMinRetracedouble0.236Fibonacci Min Retracement
FiboMaxRetracedouble0.786Fibonacci Max Retracement
FiboPullbackBarsint3Fibo Freshness: max bars since touch (0=off)
RequireADXRisingbooltrueRequire ADX Rising (ADX[1]>ADX[2])
ATR_Lenint10ATR Fast Period
ATR_SlowLenint34ATR Slow Period
VR_Mindouble0.95Volatility Ratio Min Clamp
VR_Maxdouble1.45Volatility Ratio Max Clamp
K_SLdouble0.45VR Sensitivity - Stop Loss
K_TPdouble0.45VR Sensitivity - Take Profit
K_BEdouble0.40VR Sensitivity - Break Even
K_TRdouble0.25VR Sensitivity - Trailing
SL_ATR_Multdouble4.9Stop Loss (ATR multiplier)
TP_ATR_Multdouble9.5Take Profit (ATR multiplier)
BE_ATR_Triggerdouble3.5Break Even Trigger (ATR multiplier)
Trail_ATR_Multdouble2.4Trailing Stop (ATR multiplier)
Trail_Offset_ATRdouble0.8Trailing Offset (ATR multiplier)
TrailAfterBE_Multdouble2.3Trailing After BE (ATR multiplier)
UsePartialClosebooltrueEnable Partial Close
PartialCloseATRdouble1.5Partial Close Distance (ATR mult)
PartialClosePctdouble50.0Partial Close % of Position
UseDynamicTPbooltrueEnable Dynamic TP
DynTP_MinMultdouble9.95Dynamic TP Min Floor (ATR mult)
UseSessionLocksbooltrueEnable Session Filters
AsiaStartHourint0Asia Block Start (server hour)
AsiaEndHourint5Asia Block End (server hour)
UseRolloverLockbooltrueBlock Around Rollover
RolloverHourint8Rollover Hour (server time)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Ralarcon88/NewtonFx-4.0 from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

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

EA Scalper XAUUSD

by francomascareloai
237 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Ladino Bot

by landim32
203 stars

Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee

MT5 Trading robot Indicator crossoverTrend following Archived
Updated 2 years ago GPL-3.0 GitHub repository of Ladino Bot

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA
60 stars

This MetaTrader 5 expert advisor automates the 9.1 trading setup popularized by Larry Williams, utilizing an exponential moving average to detect trend shifts. It enters trades based on price action relative to the moving average slope. The system includes built-in trade management features like partial profit taking,

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Larry Williams 9.1 Strategy

More trading robots

Need a Broker for MT5?

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

Compare brokers