Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Noise Band Momentum - intraday Nasdaq breakout of the noise area (Zarattini 2024 rules) - expert for MetaTrader 5

Augusto Martin D'anna
Augusto Martin D'anna
MQL5 & Pine Script developer | Trader since 2019 | Strategy validation
As a trader, I know a bot is only as good as the logic behind it. I bridge
trading concepts and clean code: I don't just follow instructions, I make
sure your EA behaves exactly the way your strategy intends.
Views:
47
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Noise Band Momentum is an intraday momentum Expert Advisor for the Nasdaq 100. It implements the rules published by Carlo Zarattini, Andrew Aziz and Andrea Barbon in "Beat the Market: An Effective Intraday Momentum Strategy for S&P500 ETF (SPY)" (Swiss Finance Institute Research Paper 24-97, 2024).

How it works

  • Noise: for every minute of the New York session, the average of |close / session open - 1| at that same minute over the last 14 regular sessions.
  • Bands: upper = max(open, previous close) x (1 + noise); lower = min(open, previous close) x (1 - noise). Using the previous close adjusts the band for overnight gaps.
  • Every 30 minutes from 10:00 to 15:30 New York time, on the close of the last M1 bar: buy above the upper band, sell below the lower band.
  • A long is closed when price is back below max(upper band, session VWAP); a short when price is back above min(lower band, session VWAP).
  • Always flat at 16:00 New York. No take profit; the stop is optional (the paper has none).

Inputs

  • Size mode: exposure (notional as % of balance, 100 = 1x without leverage) or fixed lot; maximum lot.
  • Emergency stop in % of price (0 = off).
  • Lookback (14 sessions), session open, first and last check, minutes between checks, flat time, VWAP trailing on/off. The defaults are the paper's values.
  • Broker server clock (New York + 7, Central Europe, UTC or automatic on live accounts), maximum spread, magic number, comment.

What I found when testing it

Nasdaq 100, 1-minute data, CFD costs, 1x notional, 2015 to November 2026: 2,880 trades, +3.6 basis points per trade, 40% winners, every calendar year positive (2024: +7.7%, 2025: +8.1%, 2026 to November: +7.7%, data I had not used to check the rules). With the same rules the S&P 500 was weak and the Dow, gold, silver, oil, Bitcoin and eight FX pairs lost money, so this EA is meant for the Nasdaq 100. The EA was checked against the Python backtest on the same data: 303 of 312 entries at the same minute and in the same direction.

Notes

  • Attach it to an M1 chart of your Nasdaq 100 symbol and choose your broker's server clock. The first trades need 14 sessions of M1 history.
  • It checks every new M1 bar and uses tick volume for the VWAP (a plain average of the typical price if there is no volume).
  • On early-close days (for example the day after Thanksgiving) the market closes before 16:00: close the position by hand or it will be closed at the next open.
  • Test it on a demo account first. This is an educational implementation of published research, not financial advice; past results do not guarantee future results.
Session Boxes with DST-correct clocks Session Boxes with DST-correct clocks

Tokyo, London and New York session boxes with high-low range, kept on the right hours through every clock change, plus a live clock panel.

Prop Firm News Window Countdown and Spread Monitor Prop Firm News Window Countdown and Spread Monitor

Tracks live MQL5 economic calendar events and real-time Bid-Ask spread in a chart HUD, exposing three iCustom buffers for EA news and spread gating.

Spread and Liquidity Clock: Time-of-Day Spread, Activity and Cost-to-Range Profile from Your Broker's History Spread and Liquidity Clock: Time-of-Day Spread, Activity and Cost-to-Range Profile from Your Broker's History

Builds a time-of-day profile from your own broker's history: the typical spread, the typical tick activity and the typical spread-to-range cost of every time slot of the trading day. Cheap and expensive slots are marked in the indicator window, the daily rollover window is flagged, and a panel lists the best and worst slots and ranks the current spread against its own slot.

MACD Signals MACD Signals

Indicator edition for new platform.