Articles, Library comments - page 3

TimeZones : The indicator draws four vertical colored lines during a day. Line parameters can be set in the input parameters. Author: Nikolay Kositsin
Copula: Gaussian, Student t, Clayton, Gumbel and Frank copulas with tail dependence : Fits five bivariate copulas on ranks, with Kendall's tau, tail dependence, the probability of joint extreme days, AIC and the conditional probabilities of pairs trading. Author: Mohamed-amine Baddir
ChangePoint: Bayesian online change point detection : Online detection of changes in the mean or volatility (Adams-MacKay): probability of a change in the last k bars, current segment length, forecast, and an indicator. Author: Mohamed-amine Baddir
MeanReversion: Ornstein-Uhlenbeck fit and optimal trading bands : Exact maximum likelihood of an Ornstein-Uhlenbeck spread and Bertram's optimal entry and exit levels for a given cost, with the expected length of a trade cycle. Author: Mohamed-amine Baddir
Trade Excursion Report - MAE and MFE of your closed trades (script) : For every closed position the script measures how far the price went against it (MAE) and in its favour (MFE), and shows what that says about your stops and exits. Table, summary on the chart and a CSV file. Read-only, it never
Spread Heatmap - typical spread for every hour and weekday, in server time or New York time : A table on the chart: the typical spread of the symbol for every hour and weekday, read from the history of your broker. Green is cheap, red is expensive. Hours in server time, UTC or a city with the right
DailyLossGuard — Hard Daily Loss Protection : DailyLossGuard — Hard Daily Loss Protection (Prop-Firm Challenge Essential) The #1 reason funded challenges fail is breaking the daily loss rule. DailyLossGuard enforces it automatically: it tracks your daily P/L every tick against your limit (% of
Awesome Oscillator Pullback EA for EURUSD, +209 Percent in a 2021-2026 Backtest : EURUSD EA that trades both directions: when the Awesome Oscillator turns against a weighted moving average filter, it places a stop order at the daily low or high of three days ago, with an ATR stop. Self-contained, no
Prop Firm Guard - daily loss and max drawdown protection : Closes all trades and blocks new ones when your prop firm daily loss or maximum drawdown limit is reached. Author: Marius Emeric Auguste Aubert
Equity Guard - daily loss, max drawdown and profit target lock : Closes all trades and keeps the account flat when the daily loss limit, the maximum drawdown or a daily profit target is reached. Prop-firm style rules, an on-chart panel, and a state that survives terminal restarts. Author: Muhammad
Gold MT5 Fractal Breakout EA : A MetaTrader 5 (MT5) Expert Advisor based on breakouts of prior swing highs and lows. The EA places pending orders around confirmed fractal structures and manages each trade with defined stop-loss, take-profit, and optional position-management rules. Author: chen guang
Prop Firm Equity Guard - Daily Loss Limit and Max Drawdown Protection : Closes all trades and blocks new ones when the daily loss limit, maximum loss or profit target is reached. Built for prop firm challenges. Works with manual trading and any other EA. Author: Shanawaz Mohammed Nabi Rasool Pinjori
Daily PnL Percentage Overlay - prop firm daily loss limit : Displays today's floating PnL as % of balance plus how much of the daily-loss budget is consumed — the number that actually matters for prop firm rules (FTMO, Apex, TopStep). Color code: green under 50% of limit, orange under 80%, red
VWAP - Volume Weighted Average Price : VWAP is an intra-day calculation used primarily by algorithms and institutional traders to assess where a stock is trading relative to its volume weighted average for the day. Author: Felipe Almeida
CanvasTabs: a lightweight tab bar for MQL5 based on CCanvas : A lightweight tab bar for chart panels, drawn with the standard CCanvas class. One include file, several independent instances per chart, click selection, resizing and safe cleanup. Includes a demo Expert Advisor. Author: Sayed Ali
Candle Timer Countdown : Candle countdown timer for Gold (XAUUSD), EURUSD and any symbol: time left on the current candle next to price or in a corner, spread, color change and alert before the close. Server time, no ticks needed. Open source code. Author: Cristhian Alexander Gaibor Cuasquer
Check out the new article: Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 7): Arcs, Circles and Rounded Rectangles . This part finishes the geometry layer: arcs use a sagitta‑based angular step tied to the pixel tolerance, so segment counts are computed, not guessed. The path
Check out the new article: Building A Candlestick Trend Constraint Model (Part 12) Measuring Lower-Timeframe Trigger Quality . This article extends the A‑B‑C‑D constraint model with a measurement layer. We capture confirmation timing, breakout beyond Candle C, and post‑signal MFE/MAE; aggregate
Adaptive Market Structure : OpenAI Trend-Following Trading System Author: Rodrigo S. Franco
Check out the new article: Market Simulation: First Steps with SQL in MQL5 (III) . In the previous article, we looked at an example of implementing a class in MQL5 to provide basic support. Its purpose is specifically to allow SQL code to be stored in a separate script file. This way, we won't need
Check out the new article: Optimal Trade Exit in MQL5: Longstaff-Schwartz Least-Squares Monte Carlo for Continuation-Value Estimation . This article models position exits as an American option and implements the Longstaff–Schwartz least‑squares Monte Carlo in native MQL5. The engine calibrates drift
Close All Positions and Pending Orders : Closes all open positions and optionally deletes pending orders with one click. Filter by symbol and magic number. Author: Jani Licenji
Check out the new article: Building a Prop-Firm Rule Guard in MQL5 (Part 1): The Observation Layer . Prop-firm accounts operate under a second rulebook that MetaTrader 5 does not model. This first part builds the observation layer: a per-pass frozen account snapshot read by every rule, a verdict
Check out the new article: Neural Networks in Trading: Iterative Forecast Refinement Models (Conclusion) . Introducing the RAFT framework — a powerful tool for analyzing and forecasting financial time series. Its flexible and optimized architecture ensures accurate forecasts, stable performance, and
Check out the new article: Zero-Copy Tick Streaming (Part 2) : Reading MetaTrader 5 Ticks into Python and Benchmarking the Result . We build a Python reader that attaches to the MetaTrader 5 shared memory segment, reproduces the Arrow columnar layout, and constructs ArrowArray/ArrowSchema via ctypes
TREND CANDLES v1.1 : Trend coloured candles - By Mistral AI Author: Rodrigo S. Franco
Check out the new article: Market Simulation: First Steps with SQL in MQL5 (II) . Although many people believe that we can easily embed SQL code into other code, this is usually not the case. The reason is that the SQL code is included in the executable as a string. Embedding SQL code as a string
Check out the new article: Bull Optimization Algorithm (BOA) . We present an evolutionary algorithm without a selection operator: the best individual becomes the sole mating partner for the entire population, and classical mutation is replaced by multiplicative mutation with a self-adjusting step
Session Boxes Asia London New York : Draws Asia, London and New York session boxes on the chart with each session's high and low. Author: Jani Licenji
Check out the new article: Launching MetaTrader VPS: A step-by-step guide for first-time users . Everyone who uses trading robots or signal subscriptions sooner or later recognizes the need to rent a reliable 24/7 hosting server for their trading platform. We recommend using MetaTrader VPS for