Articles, Library comments - page 26

Enhanced Spread Monitor : Spread Monitor is a simple information indicator for MetaTrader 5. It displays the current spread in pips in the form of a compact graphical panel with colour-coded indicators and a level bar. Author: Musa Khunarikov
Support and Resistance Channels Ranked by Strength : Support and resistance channels built from price pivots and ranked by strength: each pivot inside a channel and each bar that touched it adds to its score. The strongest channels run across the whole chart, colored by where price is, with break
Check out the new article: Trading Options Without Options (Part 4): More Complex Option Strategies . In this article, we will examine how to reduce risk (and whether it is even possible to do so) in option strategies where risk is initially unlimited. This applies to strategies based on writing
Divergence Panel : From MultiIndicatorDivergence - Show all Time-Frames (if div.in last bar & if div. in actual bar). Author: Rodrigo S. Franco
MACrossoverEA : The advisor opens trades when two moving averages (Fast and Slow) cross. It works on any instrument and timeframe. Author: Musa Khunarikov
MarketInfo : MarketInfo is a simple information script for MetaTrader 5. It collects and logs key data for the current instrument: prices, spread, volatility (ATR), time remaining until the bar closes, statistics covering N bars, and trend identification. Author: Musa Khunarikov
Weekend Gap Check - prop firm gap risk before the Friday close : Before the Friday close: estimates how much your open positions could lose if the market reopens with a gap, and compares it with the room left under the daily loss limit of the next trading day. For prop firm and funded accounts. It
Key Trading System MASTER : Pro Version Author: Rodrigo S. Franco
Key Trading System : STRATEGY BASED ON RSI, SAR, HEIKEN-ASHI, STOCHASTIC, CCI, WPR AND BULLS & BEARS Author: Rodrigo S. Franco
MTF Trend Context - Vian : A compact MetaTrader 5 indicator that classifies five selected timeframes as Bullish, Bearish, Neutral, or N/A using price and EMA alignment, then summarizes whether the timeframes are aligned or mixed. This is a market-context indicator, not a standalone trading signal
Magic Number Scorecard - win rate, profit factor and drawdown per EA : Running several EAs on one account? This script groups the closed trades by magic number and shows the score of each EA: win rate, profit factor, net profit and drawdown. Read-only, writes a CSV file. Author: Muhammad Muqeem
Multi-TF Data Grabber Lite — Free Clean CSV Export (M1/M15/H1 + Indicators) : Free script exporting clean, deterministic OHLC + tick volume + 4 indicators (MA, RSI, MACD, ATR) for M1/M15/H1 to CSV. Closed bars only, zero lookahead — ideal for analysis and ML datasets. Author: Abdelhakim Kouachi
Check out the new article: Beyond the Mean and Standard Deviation: A Robust Statistics Library for MQL5 Indicators . Price outliers distort indicators based on the mean and standard deviation. This article delivers a robust MQL5 library (RobustStats.mqh) implementing the median, 1.4826-scaled MAD
Check out the new article: Nonlinear OHLC Features Derived from Elliptic Curves . The article discusses the projection of EURUSD daily candlesticks onto the secp256k1 elliptic curve and the extraction of 96 features (EC+TA) to predict the direction of the next candlestick in CatBoost. The price
Check out the new article: Try/Catch style in MQL5: Bringing Modern Error Management to Algorithmic Trading . This article presents an exception-like model for MQL5 that prevents VM faults through defensive guards and cooperative TRY/CATCH/FINALLY macros. It introduces structured error objects
Basket Break-Even Lines - buy, sell and net break-even with target price : Several buys and sells open on one symbol? The indicator draws where all buys, all sells and the whole basket break even, and the price for a profit target. Planned entries can be added to see the break-even before you trade
Check out the new article: Agent Based Market Simulation: Growing a Market From Rules, and Using It to Catch an Overfitted Strategy . A compact MetaTrader 5 library builds a synthetic market from agents: a minority game, a zero‑intelligence double auction, a stylized‑facts analyzer, and a parameter
Telegram Trade Notifier - opens, closes, pending orders and daily summary : Sends every opened and closed position, pending orders and a daily account summary to your Telegram chat. It never trades on your account. Author: Muhammad Muqeem Korejo
Smart Money Concept Expert Advisor - Market Strucutre, FVG, Pullback : This Expert Advisor trades fair value gaps in the direction of market structure, the way Smart Money Concepts describes it. It is the third step of a series that has been built one piece at a time: In previous shared codes, the
Check out the new article: The MQL5 Standard Library Explorer (Part 17): Building a Reusable Portfolio Manager with CArrayObj . We present a multi‑symbol EA structure that moves symbol‑specific state into independently initialized CStrategyNode objects and manages them with CPortfolioManager. Using
Check out the new article: Online False Discovery Rate Control: Putting an Error Budget on a Live Signal Stream . The article addresses online false discovery rate control for streaming signals, where fixed thresholds inflate noise discoveries. We port LORD3, LORD++ and SAFFRON into MQL5, construct
Check out the new article: Neural Networks in Trading: A Spiking-Semantic Approach to Spatiotemporal Identification (Key Components) . In this article, we took a detailed look at the integration of the SSAM module into the SEW-ResNeXt block, demonstrating how the S3CE-Net framework enables the
Check out the new article: Building a Prop Firm Compliance Monitor in MQL5 (Part 2): Daily Sessions and Restart-Safe Starting Balances . Establishes persistent daily-session management for Prop Firm Guard in MetaTrader 5. The EA derives the session identity from the trading-server date, account
Check out the new article: Building Your Personal Expert Advisor (Part 7): Risk Management VI (Final)—Consolidating the Risk Framework . The article consolidates trade, basket, and account risk into a modular framework for MQL5 EAs. Risk logic moves into reusable classes and shared types, leaving
Check out the new article: Implementing an LLM Agent with SQL Memory in MetaTrader 5 . An LLM agent with SQL memory in MetaTrader 5 — an architecture that eliminates the main limitation of traditional LLM Expert Advisors (EAs): the loss of context between queries. Each agent decision is recorded in
OHLC Reality Check - at what stop distance does your backtest start lying? : Opens a virtual bracketed trade on every M1 bar, walks it forward on the real tick history, and reports for a sweep of stop distances how often 1-minute OHLC modelling would score the trade the wrong way round. Author: Petr
SessionReopenEA : Gold has a daily maintenance break on the CME. The first hour after it rises more than chance explains, in every calendar year of an 11-year sample - while every other hour of the day measures flat. One trade per session, a volatility-scaled server-side stop, no averaging or grid
Trend Finder Scanner : A quick market scan to identify sustainable trends. The script analyses all symbols from the ‘Market Overview’ in a matter of seconds and identifies instruments with the clearest and strongest price movements using R² linear regression and the ADX indicator. Author: Sergejs
Scalper EA for End-of-Weeks on BTC : Awesome Expert Advisor for Metatrader 4 Author: Rodrigo S. Franco
Check out the new article: Neural Networks in Trading: A Spiking-Semantic Approach to Spatiotemporal Identification (S3CE-Net) . We invite you to explore the S3CE-Net framework and its SSAM and STFS mechanisms, which accurately process spiking events while taking causality into account. The model is