Oceanus

Oceanus is a machine-learning Expert Advisor for XAUUSD on the M1 timeframe. Backtest on real ticks, Jan 2024 to Sep 2026: $2,000 grew to $3,819 at a fixed 0.01 lot, 74.5% win rate, max drawdown 9.8%. Stop loss on every trade. No martingale, no grid.

Live signal (real account, fixed 0.01 lot, running since October 1, 2026): https://www.mql5.com/en/signals/2394298

One symbol, one chart, attach and go.

Most gold scalpers on M1 trade all day, every day, and spread plus commission slowly eat whatever edge they had. Oceanus is picky. Two machine-learning models run inside the EA, read the gold tick stream every minute, and decide when the market is worth trading.

Most of the time the answer is no. So it waits.

When the answer is yes, it trades fast and manages the position hard.

At a glance

Symbol / timeframe XAUUSD, M1
Backtest, Jan 2024 - Sep 2026 +$1,819 at 0.01 lot from $2,000 (+91%), max drawdown 9.8%
Full history, Jan 2022 - Sep 2026 +$1,848 at 0.01 lot, 6,175 trades, 4 years in profit, 2022 break-even
Win rate 74.5%
Profit factor 1.14 (2024-2026), 1.22 in the MT5 Strategy Tester
Risk control Stop loss on every trade, no martingale, no grid
Minimum deposit $2,000 per 0.01 lot ($50 on a cent account)
Account Raw spread / ECN recommended

Key features

  • Two ML models inside the .ex5. Trained on tick-level features, exported to ONNX, checked every minute. No DLLs, no internet, no outside server.
  • Selective. The models decide when Oceanus may trade. Quiet market, no trade.
  • Buys and sells. It isn't a one-way bet on gold going up.
  • Fast profit protection. Stop loss from the moment the order opens, a quick move to breakeven (set slightly in profit, so it covers commission), then a trailing stop that only tightens.
  • Time limit on every trade. Positions that don't perform within a set window get closed. No trade is left open for days hoping it comes back.
  • One position at a time.
  • Live status panel on the chart, so you always know whether Oceanus is waiting or ready.
  • Restart-proof. After a terminal restart or VPS reboot it picks its open trade back up and carries on.

Backtest results

Raw tick data, XAUUSD, raw-spread account. Real spread from every tick, commission included, fixed 0.01 lot. The screenshots above show January 2024 to September 16, 2026: 4,684 trades.

Year Gold that year Result (0.01 lot)
2022 Choppy, rate hikes break-even (-$0.32)
2023 Quiet range +$29
2024 Rally starts +$74
2025 Strong trend +$654
2026 (to Sep 16) Big swings +$1,090

See the pattern? The more gold moves, the more Oceanus makes. 2025 and 2026 were the busiest years for gold in a long time, and they're the EA's two best years. In calmer years it protected the account and stayed near flat. That's the behavior I wanted.

Three out of four trades close in profit (74.5%). Plenty of those are small, locked in by the breakeven, and the bigger winners come when gold actually runs. Best trade in the period: +$50.48 at 0.01 lot.

Confirmed in the MT5 Strategy Tester. I ran the EA itself on every real tick, March to May 2026: 888 trades, +$674 at 0.01 lot, profit factor 1.22. The trade count matched my research simulation within one trade. What you see in the research is what the EA does.

Costs. Screenshot 5 adds up to $0.10 extra cost to every single trade (wider spread, commission or slippage). Profit factor stays above 1.10 the whole way.

With growth. The EA uses a fixed lot, so you choose when to step up. In my simulation, raising the lot by 0.01 for every $1,000 of balance took $10,000 to $39,511 over 4.7 years, with a max drawdown of 22.5% (closed trades).

How it works

I'm not publishing the recipe. You'll understand why. What I can tell you: the ML layer decides timing, the entry logic decides direction, and the trade management decides how much of the move you keep.

Most of the work went into making the EA match the research exactly. The models inside the EA give the same answers as my Python originals down to the seventh decimal place, minute by minute. Honestly, that part took longer than the strategy.

Requirements and recommendations

  • Symbol: XAUUSD (any suffix your broker uses). Timeframe: M1.
  • Deposit: $2,000 per 0.01 lot for normal risk (about 10% max drawdown in my tests). $50 on a cent account with low gold costs.
  • Account type: raw spread / ECN with low commission. My tests averaged about $0.12 all-in per 0.01-lot trade. On a standard account with wide gold spreads, run a quick backtest on your broker's ticks first.
  • Leverage: 1:100 or higher.
  • VPS: strongly recommended, close to your broker's server. Entries are market orders, so lower latency means better fills.
  • Broker: must allow frequent stop-loss modifications. The trailing stop updates the SL many times a day.

To grow faster, add 0.01 lot per $1,000 to $2,000 of balance, depending on how much swing you're comfortable with. I left out "% risk per trade" sizing on purpose: I tested it, and for this system fixed lots gave about the same profit with much smaller drawdown.

Quick setup

  1. Open an XAUUSD M1 chart and attach Oceanus.
  2. Set InpServerUtcH to your broker's server time minus UTC (0 if the server runs on UTC). Please don't skip this one.
  3. Set InpLots (0.01 per $2,000).
  4. Leave InpModels = Live for real trading.
  5. Enable Algo Trading. On start the EA loads about two weeks of tick history, give it a moment.

Backtesting: set InpModels to Exam, use "Every tick based on real ticks", and start the test at least 16 days before the period you want to see (the EA needs that history to warm up). The Exam models were trained only up to the end of 2025, so a 2026 backtest is a true out-of-sample test. That's the one I'd look at.

Main parameters

Parameter Default What it does
InpLots 0.01 Fixed lot size
InpModels Live Live = trading, Exam = backtesting
InpServerUtcH 0 Broker server time minus UTC, in hours
InpWarmupDays 16 Days of tick history loaded at start
InpMagic 77110 Magic number, change it if you run other EAs
InpDeviationPts 50 Maximum slippage in points
InpShowPanel true ML status panel on the chart
InpLogCSV / InpLogSlippage true Trade log and slippage log in Common\Files\Oceanus
InpDrawRange / InpDrawArmLabels true Draw signal levels and signal time on the chart

FAQ

Which symbol and timeframe? XAUUSD only, on the M1 chart. The ML models were trained on gold and nothing else.

Do I need to change any settings? Two of them: your lot size and your broker's UTC offset (InpServerUtcH). Leave the rest at default.

Why didn't it trade today? Probably because the models didn't like the market. Quiet days can have no trades at all, busy days a dozen or more. The panel on the chart shows the current status.

Can I use it on a prop firm account? It uses a stop loss on every trade and holds one position at a time, which most prop firm rules like. It has no built-in daily loss limit, though, so check your firm's rules and size the lot accordingly.

Does it work with any broker? Any broker with XAUUSD on MT5 works technically. For best results use a raw-spread / ECN account with low gold costs, and run a backtest on your broker's own ticks before going live.

Is a VPS required? Not required, but I'd use one. The EA trades on M1, and market orders fill better when your terminal is close to the broker.

Updates and support

Updates are free for buyers. I watch the live account and the slippage log every week, and every new version is re-tested on the full tick history and in the MT5 tester before release.

Questions about setup, brokers or lot size? Message me here on MQL5. I answer every message.

Risk warning: trading gold and CFDs carries a high level of risk. Past performance does not guarantee future results. Test on a demo account first and trade only money you can afford to lose.

For more information about the backtest please read this link

Altri dall’autore
This indicator presents an alternative approach to identify Market Structure. The logic used is derived from learning material created by   DaveTeaches (on X) Upgrade v1.10: add option to put protected high/low value to buffer (figure 11, 12) When quantifying Market Structure, it is common to use fractal highs and lows to identify "significant" swing pivots. When price closes through these pivots, we may identify a Market Structure Shift (MSS) for reversals or a Break of Structure (BOS) for co
This is a Forex Scalping Trading Sytem based on the Bollinger Bands.  Pairs:Major Time frame: 1M or higher. Spread max:0,0001.  Indicators (just suggestion) Bollinger bands (20, 2); ADX (14 period); RSI   (7 period ). Y ou should only trade this system between 2am to 5am EST, 8am to 12am EST and 7.30pm to 10pm EST. Do not scalp 30 minutes before a orange or red news  report and not for a hour afterwards.   Setup: is for price to move above the lower or lower Bollinger Bands, RSI raise above the
FREE
The Bheurekso Pattern Indicator for MT5 helps traders automatically identify candlestick pattern that formed on the chart base on some japanese candle pattern and other indicator to improve accurate. This indicator scans all candles, recognizes and then displays any candle patterns formed on the chart. The candle displayed can be Bullish or Bearish Engulfing, Bullish or Bearish Harami, and so on. There are some free version now but almost that is repaint and lack off alert function. With this ve
This script automatically calculates and updates ICT's daily IPDA look back time intervals and their respective discount / equilibrium / premium, so you don't have to :) IPDA stands for Interbank Price Delivery Algorithm. Said algorithm appears to be referencing the past 20, 40, and 60 days intervals as points of reference to define ranges and related PD arrays. Intraday traders can find most value in the 20 Day Look Back box, by observing imbalances and points of interest. Longer term traders c
This is addition of  Effective SV squeeze momentum  that add bolliger band and Keltner channel to chart window.  Squeeze momentum introduced by “John Carter”, the squeeze indicator for MT5 represents a volatility-based tool. Regardless, we can also consider the squeeze indicator as a momentum indicator, as many traders use it to identify the direction and strength of price moves. In fact, the Tradingview  squeeze indicator shows when a financial instrument is willing to change from a trending ma
FREE
The liquidity swings indicator highlights swing areas with existent trading activity. The number of times price revisited a swing area is highlighted by a zone delimiting the swing areas. Additionally, the accumulated volume within swing areas is highlighted by labels on the chart. An option to filter out swing areas with volume/counts not reaching a user-set threshold is also included. This indicator by its very nature is not real-time and is meant for descriptive analysis alongside other com
The Breaker Blocks with Signals indicator aims to highlight a complete methodology based on breaker blocks. Breakout signals between the price and breaker blocks are highlighted and premium/discount swing levels are included to provide potential take profit/stop loss levels. This script also includes alerts for each signal highlighted.   SETTINGS   Breaker Blocks Length: Sensitivity of the detected swings used to construct breaker blocks. Higher values will return longer term break
OVERVIEW K-means is a clustering algorithm commonly used in machine learning to group data points into distinct clusters based on their similarities. While K-means is not typically used directly for identifying support and resistance levels in financial markets, it can serve as a tool in a broader analysis approach. Support and resistance levels are price levels in financial markets where the price tends to react or reverse. Support is a level where the price tends to stop falling and m
All about Smart Money Concepts Strategy: Market struture: internal or swing BOS, CHoCH; Orderblock; Liquity equal; Fair Value Gap with Consequent encroachment, Balanced price range; Level with Previous month, week, day level or in day level (PMH, PWH, PDH, HOD); BuySell Stops Liquidity (BSL, SSL); Liquidity Void Long Wicks; Premium and Discount; Candle pattern ... "Smart Money Concepts" ( SMC ) is a fairly new yet widely used term amongst price action traders looking to more accurately navigate
The indicator   returning pivot point based trendlines with highlighted breakouts . Trendline caculated by pivot point and other clue are ATR, Stdev.   The indicator also includes integrated alerts for  trendlines  breakouts   and foward message to Telegram channel or group if you want. Settings ·            Lookback bar: Default 200 is number of bar caculate when init indicator. ·            Length:  Pivot points  period ·            Slope Calculation Method: Determines how this lope is calcula
This all-in-one indicator displays real-time market structure (internal & swing BOS / CHoCH), order blocks, premium & discount zones, equal highs & lows, and much more...allowing traders to automatically mark up their charts with widely used price action methodologies. Following the release of our Fair Value Gap script, we received numerous requests from our community to release more features in the same category. //------------------------------------// Version 1.x has missing functions + PDAr
The Breaker Blocks with Signals indicator aims to highlight a complete methodology based on breaker blocks. Breakout signals between the price and breaker blocks are highlighted and premium/discount swing levels are included to provide potential take profit/stop loss levels. This script also includes alerts for each signal highlighted.   SETTINGS   Breaker Blocks Length: Sensitivity of the detected swings used to construct breaker blocks. Higher values will return longer term break
The ICT Concepts indicator regroups core concepts highlighted by trader and educator "The Inner Circle Trader" (ICT) into an all-in-one toolkit. Features include Market Structure (MSS & BOS), Order Blocks, Imbalances, Buyside/Sellside Liquidity, Displacements, ICT Killzones, and New Week/Day Opening Gaps. It’s one kind of Smart money concepts.   USAGE:   Please read this   document  !      DETAILS Market Structure Market structure labels are constructed from price breaking a prior extreme
The FollowLine indicator is a trend following indicator. The blue/red lines are activated when the price closes above the upper Bollinger band or below the lower one. Once the trigger of the trend direction is made, the FollowLine will be placed at High or Low (depending of the trend). An ATR filter can be selected to place the line at a more distance level than the normal mode settled at candles Highs/Lows. Some features: + Trend detech + Reversal signal + Alert teminar / mobile app
The ICT Silver Bullet indicator is inspired from the lectures of "The Inner Circle Trader" (ICT) and highlights the Silver Bullet (SB) window which is a specific 1-hour interval where a Fair Value Gap (FVG) pattern can be formed. A detail document about ICT Silver Bullet here . There are 3 different Silver Bullet windows (New York local time): The London Open Silver Bullet (3 AM — 4 AM ~ 03:00 — 04:00) The AM Session Silver Bullet (10 AM — 11 AM ~ 10:00 — 11:00) The PM Session Silver Bullet (2
Sessions by Lux
Minh Truong Pham
This indicator shows when user set sessions are active and returns various tools + metrics using the closing price within active sessions as an input. Users have the option to change up to 4 session times. The indicator will increasingly lack accuracy when the chart timeframe is higher than 1 hour. Settings Sessions Enable Session: Allows to enable or disable all associated elements with a specific user set session. Session Time: Opening and closing times of the user set session in the  
The liquidity swings indicator highlights swing areas with existent trading activity. The number of times price revisited a swing area is highlighted by a zone delimiting the swing areas. Additionally, the accumulated volume within swing areas is highlighted by labels on the chart. An option to filter out swing areas with volume/counts not reaching a user-set threshold is also included. This indicator by its very nature is not real-time and is meant for descriptive analysis alongside other com
The SuperTrend AI indicator is a novel take on bridging the gap between the K-means clustering machine learning method & technical indicators. In this case, we apply K-Means clustering to the famous SuperTrend indicator.   USAGE Users can interpret the SuperTrend AI trailing stop similarly to the regular SuperTrend indicator. Using higher minimum/maximum factors will return longer-term signals. (image 1) The displayed performance metrics displayed on each signal allow for a deeper interpretat
OVERVIEW A Lorentzian Distance Classifier (LDC) is a Machine Learning classification algorithm capable of categorizing historical data from a multi-dimensional feature space. This indicator demonstrates how Lorentzian Classification can also be used to predict the direction of future price movements when used as the distance metric for a novel implementation of an Approximate Nearest Neighbors (ANN) algorithm. This indicator provide signal as buffer, so very easy for create EA from this indi
An Implied Fair Value Gap (IFVG) is a three candles imbalance formation conceptualized by ICT that is based on detecting a larger candle body & then measuring the average between the two adjacent candle shadows. This indicator automatically detects this imbalance formation on your charts and can be extended by a user set number of bars. The IFVG average can also be extended until a new respective IFVG is detected, serving as a support/resistance line. Alerts for the detection of bullish/be
Consolidation is when price is moving inside a clear trading range. When prices are consolidated it shows the market maker placing orders on both sides of the market. This is mainly due to manipulate the un informed money. This indicator automatically identifies consolidation zones and plots them on the chart. The method of determining consolidation zones is based on pivot points and ATR, ensuring precise identification. The indicator also sends alert notifications to users when a new consolida
Wyckoff sweep and order block detector I got tired of marking the same structure by hand every morning, so I wrote this. It looks for one thing only: the Wyckoff sequence that ends with a liquidity sweep and a pullback into the order block that started the move. When all the pieces line up, it draws them and tells you. That's the whole job. It doesn't predict, it doesn't score setups out of ten, and it won't tell you how much to risk. It marks structure that's already there and saves you the ey
Created by imjesstwoone and mickey1984, this trade model attempts to capture the expansion from the 10:00-14:00 EST 4h candle using just 3 simple steps. All of the information presented in this description has been outlined by its creators, all I did was translate it to MQL4. All core settings of the trade model may be edited so that users can test several variations, however this description will cover its default, intended behavior using NQ 5m as an example. Step 1 is to identify our Price Ra
The Buyside & Sellside Liquidity indicator aims to detect & highlight the first and arguably most important concept within the ICT trading methodology,   Liquidity   levels. SETTINGS Liquidity Levels Detection Length: Lookback period Margin: Sets margin/sensitivity for a liquidity level detection Liquidity Zones Buyside Liquidity Zones: Enables display of the buyside liquidity zones. Margin: Sets margin/sensitivity for the liquidity zone boundaries. Color: Color option for buysid
The   Liquidation Estimates (Real-Time)   experimental indicator attempts to highlight real-time long and short liquidations on all timeframes. Here with liquidations, we refer to the process of forcibly closing a trader's position in the market. By analyzing liquidation data, traders can gauge market sentiment, identify potential support and resistance levels, identify potential trend reversals, and make informed decisions about entry and exit points. USAGE (Img 1)    Liquidation refers
The   ICT Unicorn Model   indicator highlights the presence of "unicorn" patterns on the user's chart which is derived from the lectures of   "The Inner Circle Trader" (ICT) . Detected patterns are followed by targets with a distance controlled by the user.   USAGE (image 2) At its core, the ICT Unicorn Model relies on two popular concepts, Fair Value Gaps and Breaker Blocks. This combination highlights a future area of support/resistance. A   Bullish Unicorn Pattern   consists out of:
The Inversion Fair Value Gaps (IFVG) indicator is based on the inversion FVG concept by ICT and provides support and resistance zones based on mitigated Fair Value Gaps (FVGs). Image 1   USAGE Once mitigation of an FVG occurs, we detect the zone as an "Inverted FVG". This would now be looked upon for potential support or resistance. Mitigation occurs when the price closes above or below the FVG area in the opposite direction of its bias. (Image 2) Inverted Bullish FVGs Turn into Potenti
Overview The   Volume SuperTrend AI   is an advanced technical indicator used to predict trends in price movements by utilizing a combination of traditional SuperTrend calculation and AI techniques, particularly the k-nearest neighbors (KNN) algorithm. The Volume SuperTrend AI is designed to provide traders with insights into potential market trends, using both volume-weighted moving averages (VWMA) and the k-nearest neighbors (KNN) algorithm. By combining these approaches, the indicator
Introducing the Reversal and Breakout Signals   This innovative tool is crafted to enhance your chart analysis by identifying potential reversal and breakout opportunities directly on your charts. It's designed with both novice and experienced traders in mind, providing intuitive visual cues for better decision-making. Let's dive into the key features and how it operates: ###   Key Features:   Dynamic Period Settings:   Customize the sensitivity of the indicator with user-def
Introduction One of the patterns in "RTM" is the "QM" pattern, also known as "Quasimodo". Its name is derived from the appearance of "Hunchback of Notre-Dame" from Victor Hugo's novel. It is a type of "Head and Shoulders" pattern.   Formation Method   Upward Trend In an upward trend, the left shoulder is formed, and the price creates a new peak higher than the left shoulder peak . After a decline, it manages to break the previous low and move upward again. We expect the price to
Filtro:
Nessuna recensione
Rispondi alla recensione