MQL5 Programs Market

Dozens of new automated trading applications appear in the MQL5 Market every day. Choose the right app among 10,000 products and forget about unnecessary routine operations of manual trading.

Sell your algorithmic trading programs through the largest store of trading applications!

The Range Reaper
Profalgo Limited
5 (6)
PROP FIRM READY! LAUNCH PRICE: only 24hours at current price! FINAL PRICE: 899$ Official live signal Quick Start Set Files !! THE RANGE REAPER IS HERE !! What if you could run a full portfolio of uncorrelated strategies, 11 markets, all from 1 single chart, completely balanced, plug and play ready?    Introducing the RANGE REAPER:  The proven strategy of range breakouts, perfected to my standards. Gold, crypto, forex and indices. Eleven markets, eleven strategies, each one built and calibrat
My AI Gold
Vitalii Kosov
4.93 (29)
AI-DRIVEN GOLD TRADING REVOLUTION -------------------------------------------------------------------------------- My AI Gold is not just another automated trading tool—it is the culmination of advanced neural network engineering, proprietary custom architecture, and rigorous real-world optimization. Built from the ground up utilizing cutting-edge repositories and state-of-the-art machine learning frameworks from GitHub, My AI Gold harnesses deep data analysis to decode the complexities of the
Quantum Titan MT5
Bogdan Ion Puscasu
4.77 (53)
Bringing institutional-grade trading to the Quantum ecosystem, Quantum Titan sets a new standard for precision, discipline, and proven live-market performance. Developed for traders who expect more from a GOLD Expert Advisor, Titan represents the next evolution of Quantum trading technology. Availability is strictly limited to 1,000 lifetime licenses worldwide. Once all 1,000 copies have been claimed, Quantum Titan will no longer be available. Special launch discount price. Final price $1999
Allylla Pullback Bot
Uttam Kumar Nandeibam
3.35 (20)
ALLYLLA is NOT another Breakout or Grid-Martingale Bot . It is a unique and an original trading system that combines a complex market structure analysis model with a multi-timeframe pullback algorithm to generate high-probability entry signals. It is a single-entry, SLTP Expert Advisor for MT5 that combines five such trading strategies into a single system. Live Signal : Live Signal Link ( Default Set, FixLot, $1000 ) For Queries / Support / Updates : Post a Comment Here after purchase | Send a
Hedgehog MT5
Thomas Christoph Lipka
4.94 (16)
HEDGEHOG MT5 Precision in Gold Trading. Intelligence in Every Decision. Hedgehog MT5 is an advanced automated trading system developed specifically for Gold (XAUUSD) on MetaTrader 5. Focused on precision, selectivity, and execution quality, Hedgehog MT5 combines sophisticated market analysis with intelligent order management and a structured approach to automated trading. Rather than reacting to every price movement, the system is designed to identify relevant market opportunities and respond wh
Scraper Gold
Kriscandra Rumbang Atmaja
4.82 (28)
Scraper Gold MT5 – 4-Engine Breakout EA for XAUUSD Current price: $125. Further price increases will follow the growth of the ScraperGold Classic live signal and will be announced in advance. Final price: $195. Live Signal 1 – P rofile  Classic : https://www.mql5.com/en/signals/2392705 Live Signal 2 – P rofile  Fixed Entry  : https://www.mql5.com/en/signals/2396229 Live Signal 3 - Profile Wide Exit :   https://www.mql5.com/en/signals/2395793 Live Signal 4 - Profil Adaptive Entry :  https://ww
The Gold Reaper MT5
Profalgo Limited
4.37 (117)
PROP FIRM READY! ( download SETFILE ) WARNING: Only a few copies left at current price! Final price: 990$ Get 1 EA for free (for 3 trade accounts) -> contact me after purchase Ultimate Combo Deal   ->   click here JOIN PUBLIC GROUP:   Click here Live Signal YouTube Reviews LATEST MANUAL Welcome to the Gold Reaper! Build on the very succesfull Goldtrade Pro, this EA has been designed to run on multiple timeframes at the same time, and has the option to set the trade frequency from very conserv
Gold Beaver
Arnold Bobrinskii
5 (15)
Gold Beaver - limited offer $449 now. Next price $499. 10 copies left at this price GOLD BEAVER MT5  > Live signal - main preset > Live signal - scalper preset Attach Gold Beaver to any XAUUSD chart, on any timeframe, and it trades. The default preset, Combo Safe , is ready to run.  Not HFT. No low-latency VPS is needed. Signals are evaluated on M15 candle boundaries, so testing on OHLC M1 is enough. No martingale. No grid. No averaging. Every position gets a stop loss the moment it opens. The
MoonDog EA
James Vito Armin Bianchini
4.56 (66)
Christmas offer Save $50 on MoonDog EA for a limited time. Live signals and setup Main MoonDog live signal Second MoonDog live signal — SET 4, More Trades Third MoonDog live signal - SET 7  this is beta test Open the MoonDog setup guide About MoonDog MoonDog is a breakout Expert Advisor for XAUUSD on MetaTrader 5. It runs its strategies from one chart. Each trade has an initial stop loss and take profit. Choose your setup SET 1 — Default. Five original strategies, a 20-pip stop loss and clas
The Invincible
Vitalii Kosov
5 (6)
The Invincible — Built to Survive. Designed to Dominate The Invincible is an advanced AI-driven Expert Advisor built specifically for the XAUUSD / Gold market. It is designed for traders who want a clean, structured, and professional trading system — without martingale, without grid, without hedging, and without any dangerous recovery tricks hidden inside the logic. This is not a system that tries to survive by averaging losses or multiplying positions. The Invincible works with a disciplined tr
Big Gold Crown
Maksim Neverov
5 (2)
Welcome to Big Gold Crown  ! This is a Fully Automated Trading Pivot System for Locating Vulnerabilities in the GOLD Market! We don't use "Martingale", We don't use "GRID" ,  We don't use  "AI", We don't use "Machine Learning ", We don't use " Averaging ", We don't use Non-Realistic Backtests! Each trade has a Fixed TakeProfit and Stop Loss . Each strategy has its own Algorithm for Tracking Profitable Positions. Big Gold Crown  uses the principle of returning the price to a major level in the Go
AiX Gold MT5
William Brandon Autry
5 (2)
AiX GOLD — BUILT FOR GOLD. One market. Up to seven breakout strategies. Optional AI review. AiX identifies breakout opportunities at established daily and hourly price levels. It prepares the entry, sets the stop loss and profit target, then manages the trade with break-even and trailing rules. Read the AiX Gold story: the strategy, long-term backtests and how Jev is used. NO RECOVERY TRADING. NO GRID. NO MARTINGALE. Every trade starts with a predefined stop loss. Each pending entry is submitted
London to New York MT5
Thomas Christoph Lipka
5 (1)
LONDON NEW YORK MT5 Automated Gold Trading | London & New York Sessions London New York MT5 is an Expert Advisor developed by Alpha Tools for automated XAUUSD (Gold) trading on MetaTrader 5. The system focuses on the London and New York trading sessions. It uses a proprietary intraday framework to evaluate price movements, market structures, potential breakout situations and defined price levels. Different market conditions are considered within a structured trading approach. The specific entry
Scalping Robot Pro MT5
MQL TOOLS SL
4.41 (180)
Scalping Robot Pro is a  professional trading system  designed specifically for fast and precise scalping on XAUUSD using the M1 timeframe. The system is built to capture short term market movements with accurate execution and controlled risk management. It focuses on real time price behavior, momentum shifts, short term volatility, and selective trade management techniques to identify high probability  trading opportunities  in the gold market. Scalping Robot Pro is optimized for traders who pr
Janus Zone
Guilherme Jose Mattes
5 (6)
BLACK FRIDAY 24H OFFER, AFTER THAT: 399 USD Janus Zone — Multi-Strategy Zone Trading System for Gold Live Signal Mode 1   Live Signal Mode 2 Live Signal Mode 3 MANUAL V3 No martingale. No averaging down. A hard stop-loss on every order. Janus Zone was built and refined over months of live testing before reaching this listing, with dozens of internal versions tested, measured and discarded until this one earned its place. One chart, one EA: attach it to XAUUSD H1 and choose a preset. NEW IN VE
The Gold Space
Ayush V Jain
5 (18)
The Gold Space is a swing breakout Expert Advisor for gold (XAUUSD) on MetaTrader 5. It places buy stop and sell stop orders at swing highs and lows on several timeframes, and every order has its own Stop Loss and Take Profit from the moment it is placed. No martingale, no grid and no averaging. Live signal on a real Vantage account: The Gold Space V3 Attach the EA to one XAUUSD chart on any timeframe and it runs with the default settings. It never adds trades or increases the lot size after a
SomaUSTEC
Andrii Soma
SomaUSTEC is a multi-strategy breakout Expert Advisor for MetaTrader 5, built for the Nasdaq 100 index CFD (USTEC, also listed as NAS100, US100 or USTECH depending on the broker). One chart, one EA, 17 independent strategies running together as a single diversified portfolio. Live Signal. Concept Instead of running a single setup that tends to overfit a narrow market regime, SomaUSTEC ships with a curated set of 17 pre-tuned breakout strategies on USTEC. They all run in parallel under a single E
TitanForge EA MT5
Maxim Kurochkin
4.7 (20)
TITANFORGE EA MT5 ALGORITHMIC IMPULSE SWING SYSTEM FOR XAUUSD H1 TitanForge EA is an automated trading system developed specifically for Gold on the H1 timeframe. The strategy focuses on directional momentum, volatility expansion and controlled position management. It is designed to wait for selected market conditions rather than remain permanently exposed to the market. No Grid. No Martingale. No uncontrolled averaging. Every position is opened with predefined protection, including a hard Stop
Smart Gold Hunter
Barbaros Bulent Kortarla
4.02 (82)
No Grid / No Martingale / No Recovery / No Hedging / Single Entry with SL / One Shot Smart Gold Hunter is an Expert Advisor for XAUUSD / Gold trading on MetaTrader 5. It is designed for traders who prefer a Gold EA with no grid, no martingale, real Stop Loss and Take Profit logic, and controlled risk management. Please send a short message via the comment section after your purchase to receive your guides, set files, and access to the live chat group. You can check the live signal before maki
AI Golden Life MT5
MQL TOOLS SL
4.28 (18)
AI GOLDEN LIFE is a professional AI-powered trading system developed exclusively for XAUUSD (Gold) on the H1 timeframe. It represents a new generation of automated Gold trading, combining advanced technical analysis, intelligent market filtering, adaptive trade management, and innovative geopolitical risk protection. Unlike traditional scalping systems that focus on rapid market fluctuations, AI GOLDEN LIFE operates on the H1 timeframe , analyzing broader market structures, price action, moment
Pac Man BTC
Thomas Christoph Lipka
5 (8)
Pac Man BTC MT5 – Bitcoin Trading Expert Advisor Pac Man BTC MT5 is a fully automated Expert Advisor for BTCUSD on MetaTrader 5. Version 2.0 combines two independent trading systems: Breakout and Runner. Both strategies can operate individually or simultaneously. The EA automatically analyzes market conditions, places pending orders based on internal trading signals, and manages open positions. Trading Systems Breakout: The Breakout system uses several internal strategies with different entry co
Aetheris Gold Stack
Van Chung Nguyen
3.3 (10)
Holiday price: $99 until 1 January 2027 (Black Friday, Christmas and New Year). From 2 January 2027 the price rises by $50 after every 10 sales, up to the final price of $999. Thank you - 100 buyers! The launch offer for the first 100 buyers is complete. To thank our users, and for Black Friday, Christmas and New Year, we keep the $99 price for everyone until 1 January 2027, with every future update included. Live Signal Monitoring: Ultima Markets Signal AETHERIS Gold Stack is a fully automated
Range Breakout EA with Range Filters
Bot IQ Technologies d.o.o.
4.68 (31)
BLACK FRIDAY: $449 INSTEAD OF $649! WARNING! Only 30 copies in total across all my systems, not 30 of each. Once they are gone the price returns to $649. Activations doubled from 10 to 20, the maximum MQL5 allows. [2+ Years Verified Live]  |  [25 FTMO Payouts]  |  [Backtest Result] Markets: XAUUSD, USDJPY, BTCUSD, US30, DE40. Prop Firm Features: Daily drawdown protection and trade randomization. Risk Management: Stop loss on every trade. No grid or martingale. Join The Community! PUBLIC COMM
Trend Sniper X
Sarvarbek Abduvoxobov
4.87 (46)
Trend Sniper X is a multi-timeframe trend-following indicator for MetaTrader 5 that helps traders identify trend direction and potential reversal points with clarity and precision. for MT4: https://www.mql5.com/en/market/product/193245 Price Information: The current price is promotional and is subject to change as upcoming updates and new features are released. Bonus Offer: To get the FREE Auto-Trade Assistant EA for this indicator, please message the author after purchasing. Code2Profit Channe

Trading Signals

Choose a suitable trading strategy and subscribe to it with a few clicks. All Signals are provided with detailed statistics and informative charts.

Become a trading signal provider and sell subscriptions to thousands of traders around the world. With the Signals service, your successful strategy can generate income with a small start-up budget!

Forex VPS for MetaTrader 4/5

We will offer a server with the lowest ping and the best execution
Equinix LD4
London, UK
51.5235, -0.636
Equinix NY4
New York, US
40.7765, -74.072
Equinix SP3
Sau Paulo, Brazil
-23.4663, -46.8634
Equinix HK1
Hong Kong
22.3656, 114.1171
Servers.com AMS1
Amsterdam, Netherlands
52.3918, 4.665
Servers.com MOW1
Moscow, Russia
55.736, 37.721
Falkenstein FSN1
Falkenstein, Germany
50.4788, 12.3327
Interxion FRA3/FRA8
Frankfurt, Germany
52.3918, 4.665
Aurora 1
Chicago, US
42.0011, -87.9571
Mumbai
Mumbai, India
19.1131, 72.8925
Johannesburg
Johannesburg, South Africa
-25.9305, 28.1362
Singapore
Singapore
1.3226704, 103.9186452

Jobs for Freelancers

Order a custom technical indicator, a trading robot or any other app for the MetaTrader platforms from trusted developers.

Professional programmers deal with hundreds of orders in the MQL5 Freelance section with guaranteed payment and instant withdrawal of earnings through convenient payment systems.

30 - 50 USD
Delete/Remove . Integrate Support & Resistance . Prop Firm Expert. (Expert Active With a firm's account) . (Tick Volume) spikes specifically when price interacts with pre-defined Support and Resistance zones. [ required ]
30+ USD
i need a good bot which can scalp and have a tight stop loss an advance bot with a two position only and alot size should be 0.02 AI Trading Bot Development Prompt Build a fast, precision-based scalping trading bot designed to capture small price movements in the market while maintaining strict risk management. 1. Trading Strategy Develop a scalping strategy focused on quick entries and exits. Trade only when
56 Applications
MQL5 Experts Forex
30 - 100 USD
I am looking for an experienced MQL5 developer to create a simple, well-organized Expert Advisor for MetaTrader 5. Requirements: - Provide complete and editable MQL5 source code. - Explain the EA's functionality and logic clearly. - Include configurable settings. - Include appropriate risk-control features. - Provide clear installation and testing instructions. - Ensure the code is clean and properly documented. I
30 - 200 USD
PROJECT NAME: BALISA AI VERSION 1.0 I want to develop my own automated trading robot called Balisa AI for MetaTrader 5 (MT5). REQUIREMENTS: 1. The robot must support Forex and Gold (XAUUSD). 2. It must operate as an Expert Advisor (EA) on MT5. 3. It must automatically identify trading opportunities and execute buy and sell orders. 4. It must have Stop Loss and Take Profit. 5. It must include risk management to
50 - 80 USD
Project: HTF Trendline Breakout & Retest Trading Robot Platform: MetaTrader 5 (MT5) Language: MQL5 Robot Type: Fully Automated Expert Advisor Trading Direction: Both BUY and SELL Strategy: Higher Timeframe (HTF) Trendline Breakout with Retest Confirmation 1. PROJECT OBJECTIVE I require a professional, fully automated MT5 trading robot based on a Higher Timeframe Trendline Breakout and Retest strategy. The robot must
59 Applications
MQL5 Experts
400 - 1000 USD
I'm looking for an experienced developer who has a genuinely ORIGINAL trading idea for MT5 and can build and validate it. Please read before applying: 1. In your application, describe the strategy in a few lines: market, timeframe, entry logic, stop and exit. Applications without a concrete idea will not be considered. Your idea stays yours until it is paid for. 2. These families have already been tested on our side
40 Applications
MQL5 Experts Forex

New in chats

Chat with your colleagues, discuss new ideas in groups, subscribe to useful channels and create your own ones to share your experience

Algo Trading
Algo Trading Verified
KAMA Ribbon aggregates multiple Kaufman Adaptive Moving Averages into a single view to track trend persistence across several horizons. Each line uses the standard KAMA formula with an Efficiency Ratio (ER): net price change over N bars divided by the sum
Scalping
Scalping
WATCH IT YOURSELF: MOON RIDER EA, LAST YEAR'S BACKTEST — $50 → $2,622 Backtest video: https://www.youtube.com/watch?v=8BYHF7DWjvM Moon Rider strategy video: https://www.youtube.com/watch?v=jKbMgU6uP8I Recommended balance: $500 minimum After purchase
Advance AI Scanner
KNOW THE NEWS SIZE BEFORE IT HITS NEW VERSION 3.0 IS LIVE 139+ markets scanned in a second Edge Score · 9 central banks · Seasonality https://www.youtube.com/watch?v=4qKdQyQrR28 Watch the 3.0 video · then try the free demo After purchase n
Utazima Labs FX | EA Support Hub
Only 4 copies remaining before the planned price increase to $369. Get your copy at the current price: https://www.mql5.com/en/market/product/194048 Don't miss the current pricing opportunity!
Forecast and Levels
Brazil Mid-Month Consumer Price Index (CPI) y/y The annual inflation rate in Brazil ticked up to 4.64% in the first half of November 2026 from 4.62% in the first two weeks of October. source: https://www.mql5.com/en/economic-calendar/brazil/mid-month-cpi-
New Gadgets and Game Tech News
Gemini API Launches Tool Retrieval Preview to Cut Tokens for Large Agent Tool Libraries - https://blog.google/innovation-and-ai/technology/developers-tools/gemini-api-tool-retrieval/
Something Interesting
Apache Arrow Flight from MQL5: A Native gRPC Client for Columnar Data Transport - https://www.mql5.com/en/articles/25220
Phoenix Trade Manager MT5 | Elite Traders Hub
WHAT TURNS A CHART INTO A PROFESSIONAL TRADING DESK? Fast execution, advanced exits and account protection Professional desks combine instant execution, structured exits and firm account controls. Phoenix brings all three into one panel on your MT5 ch
Prop Firm Trade Manager | Funded Trader Elite
WHAT DOES ATR DO FOR MY SL? Wider SL when the market is lively, tighter when calm ATR adapts your SL to current volatility, so every trade fits the market's pace. Adapts to volatility Lively markets Calm markets Own it for life: $99 one-time — le
Ultra Sync Trade Copier MT5 & MT4
PRO #29: INTERNET STILL MATTERS FOR BROKERS Copying between terminals is local — but each terminal still needs its own connection to its broker to place orders. A stable internet connection (or a VPS) keeps every account connected. After purchase nee
Multi-Strategy Market Scanner
BREAKOUT AND RETEST Break. Retest. Go. The Breakout and Retest method waits for price to break a level and come back to test it. A favourite of patient traders — inside the scanner. DO THE MATH 10 single-method indicators at typical market prices ($
Prime Trading Insights
BTCUSD Market Analysis – Bearish Setup at Resistance BTCUSD is trading around 60,767 facing a key resistance zone near 60,903–61,200 Price is consolidating below resistance indicating a possible rejection If selling pressure continues the downside target

Traders Forum

Ask questions on technical analysis, discuss trading systems and improve your MQL5 programming skills to develop your own trading strategies.

Communicate and share your experience with traders from anywhere in the world, answer questions and help beginners — MQL5 Algotrading community is developing along with you.

Financial Trading Articles

Learn how to create your own technical indicators and trading robots from the huge database of articles written by expert traders.

Share your trading and programming experience with those who are new to algorithmic trading, write an article about it and earn $200. In addition, we will translate your article to ten languages.

preview
Connecting MQL5 to Apache Cassandra: A Native CQL Binary Protocol (v4) Client for Tick-Level Feature Archival

Connecting MQL5 to Apache Cassandra: A Native CQL Binary Protocol (v4) Client for Tick-Level Feature Archival

This article builds a driverless MQL5 client for Cassandra's CQL binary protocol v4 using outbound TCP sockets. It explains frame headers and primitives, SASL PLAIN, prepared statements, and UNLOGGED batches, then demonstrates an EA that writes per‑tick feature vectors with batched throughput and a reconnect‑and‑retry flush path verified on a real node.
preview
Aggregating Order Flow Delta from Tick Data in MQL5

Aggregating Order Flow Delta from Tick Data in MQL5

Compute and visualize order flow delta in MQL5 from raw ticks, either per bar or cumulatively. The implementation applies the tick rule, threads state through bars, and annotates price–cumulative delta divergences closed on bars. Pure classes isolate logic for testing, and a synthetic tick script confirms behavior, improving robustness and clarity of the output.
preview
MQL5 Developer Gotchas (Part 2): A Multi-Line Text Block for Chart Labels Beyond the 63-Character Limit

MQL5 Developer Gotchas (Part 2): A Multi-Line Text Block for Chart Labels Beyond the 63-Character Limit

CLabelBlock lets an EA show a long text as labels wrapped by pixel width and detect a truncated label. On the tested builds, native text objects and object names keep only the first 63 UTF-16 code units without an error. CCanvasBlock draws wider lines on one bitmap without that cap but cannot read its text back. Unit tests and screenshot checks cover one system and a few fonts.
preview
Reading Parquet Natively in MQL5: Thrift, Snappy and Dictionary Decoding into matrix Without CSV

Reading Parquet Natively in MQL5: Thrift, Snappy and Dictionary Decoding into matrix Without CSV

This article shows how to read Apache Parquet files directly in MQL5 without DLLs: a native Thrift Compact Protocol decoder for footer metadata, a native Snappy block decompressor, and a hybrid RLE/bit‑packing decoder for definition levels and dictionary indices. We assemble numeric columns into a matrix with an optional null mask. Scope: flat schemas, INT32/INT64/FLOAT/DOUBLE, UNCOMPRESSED/SNAPPY, DataPageV1, first row group. The result avoids CSV conversions and preserves nulls and types.
preview
Building Your Own Expert Advisor (Part 8): ATR and R-Multiple Trailing Stops

Building Your Own Expert Advisor (Part 8): ATR and R-Multiple Trailing Stops

We add TrailingStop.mqh: a trailing engine plus pluggable methods for the Series EA. Each method proposes a level; the engine decides if and when to send it, enforcing protective direction, minimum step, stops level and freeze level. Included methods are ATR trailing and an R‑multiple ladder, with optional break‑even as a floor. The result is per‑tick, safer stop management under broker constraints.
preview
Neural Networks in Trading: Mesh-Based Approximation of Event Streams as a Tool for Analyzing Price Patterns (CDC Module)

Neural Networks in Trading: Mesh-Based Approximation of Event Streams as a Tool for Analyzing Price Patterns (CDC Module)

The article presents an interim stage in the implementation of the EEMFlow framework using MQL5. The focus is on the design and integration of a CDC module that includes a Self-Corrector, a Self-Attention mechanism for the corrected flow, and weighted signal aggregation via a confidence mask. The article examines architectural principles, the sequence of forward and backward passes, and the specifics of working with local and global motion features.
preview
Building a Modular Pre-Trade Execution Filter Engine in MQL5

Building a Modular Pre-Trade Execution Filter Engine in MQL5

The article presents a modular pre-trade execution filter for MQL5 as an object-oriented include class. It validates quote freshness, aligns order filling with broker capabilities, applies a rollover freeze window, and detects spread outliers using rolling statistics with a hard cap. An on-chart diagnostic indicator and an EA template with reproducible telemetry show integration and help reduce execution frictions in live trading.
preview
Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 11): A Real Stroke Engine

Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 11): A Real Stroke Engine

The engine learns to draw lines by stroking arbitrary paths with width, cap and join styles, miter limiting, and dashes. The stroker outputs overlapping geometry that the non-zero rule welds during fill, so no new raster code is required. In practice, you can render solid or dashed outlines with predictable caps and joins for chart series, widgets, and other UI shapes.
preview
Building a Daily OHLCV Aggregator from M1 Bars in MQL5

Building a Daily OHLCV Aggregator from M1 Bars in MQL5

Create session-aligned daily candles from M1 data by choosing the session close hour. A dedicated shift–truncate–restore day-key function prevents off-by-one errors at rollover and is easy to unit test. The script groups and aggregates M1 bars, writes a custom symbol for standard D1 charting, and reports results in the Experts tab, backed by synthetic tests.