Articles, Library comments - page 4

Kaufman Adaptive Moving Average (KAMA) Ribbon : A ribbon of Kaufman Adaptive Moving Averages with growing Efficiency Ratio periods, drawn in a monochrome gradient, with an on-chart label showing whether the ribbon is bullish, bearish or mixed. Author: Theophilus Adebomi Adeniyi
Hull Moving Average with Slope Color Change : Hull Moving Average that changes color with its slope: one color while the line rises, another while it falls, a neutral one when it is flat, with optional arrows at the turns. Author: Theophilus Adebomi Adeniyi
Gold Trend Breakout Lite — educational XAUUSD trend-following EA : Open-source gold EA built on XAUUSD's multi-day trend persistence: H1 Donchian breakout in the direction of the D1 EMA slope, 3×ATR hard stop, break-even at +1R. Fixed lot, one position, no grid, no martingale. Author: Shipra Gupta
Risk Lot Calculator — position size from risk percentage for gold, indices, crypto and FX : Correct lot size for a given risk % on any symbol and any account currency, using OrderCalcProfit instead of hard-coded pip values. Volume-step rounding, volume limit and a small-account guard. Include for
Volatility Squeeze Scanner (Bollinger inside Keltner + momentum) : Shows when volatility is compressed (Bollinger Bands inside the Keltner Channel) and which way it releases. Red dots = squeeze on, green = released, four-colour momentum histogram. Wilder ATR, closed-bar values, no repaint. Author
Gold Donchian Breakout Channel (non-repainting, with HTF trend filter) : Donchian price channel of the N bars before each bar, midline, and confirmed breakout arrows that never repaint. Optional D1 EMA-slope filter shows only breakouts in the higher-timeframe trend. Alerts and push. Author: Shipra
New article Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies is published: This article is intended for novice/beginner users who want to approach some kind of customization with functionality and without writing an EA from scratch. In MetaTrader 5 we have a great
Broker Tick and Rollover Spread Forensic Auditor : Read-only forensic script that audits historical broker Bid/Ask ticks in 15-day RAM-safe chunks: computes session spread percentiles (P50/P95), 23:00-00:15 rollover widening ratios, weekday feed blackout gaps, and exports clean millisecond CSV
Check out the new article: Bacterial Evolutionary Algorithm (BEA) . The article focuses on the Nawa–Furuhashi Bacterial Evolutionary Algorithm (BEA) and its two key operators: segmental bacterial mutation for local optimization and horizontal gene transfer for the exchange of successful solution
Basket Close Manager - close a group of trades at a money or percent target, loss limit, trailing lock or set time : Watches a basket of positions (whole account, one symbol and/or one magic number) and closes all of them together when the floating P/L hits your profit target, loss limit, trailing
MTF Trend Matrix : A compact dashboard that shows the EMA trend direction and ADX strength of several symbols across several timeframes at once. Author: Winston Teddy Meyn
Check out the new article: Is Your Expert Advisor Still the One You Backtested? An Edge Drift Detector in MQL5 . An equity curve cannot tell whether a live Expert Advisor still matches its backtest. This MQL5 tool compares live closing deals to a backtest baseline using a bootstrap-calibrated CUSUM
Relative Volume (RVOL) Indicator in a Subwindow : Relative Volume (RVOL) in a subwindow: the volume of every bar divided by its normal volume, drawn as a color-coded histogram with reference levels and a live text label. Author: Theophilus Adebomi Adeniyi
Point of Control (POC) and Value Area Lines for the Day : Builds a volume profile for every day and draws its Point of Control (POC) and the Value Area boundaries (VAH and VAL) as horizontal lines on the chart. The levels of the current day are updated as the day develops. Author: Theophilus Adebomi
Symmetrical Triangle Detector - objective, non-repainting triangle rules with Gann box : Detects horizontal symmetrical triangles with objective, non-repainting rules (pivot zigzag, 3+2 touches, symmetry, no wicks or bodies breaking the lines) and draws them to the apex with breakout arrows and an
Check out the new article: Causal Savitzky-Golay Kinematics in MQL5: Non-Repainting Velocity and Acceleration from Local Polynomial Fits . We present CSavGolFilter, a causal Savitzky–Golay implementation for MQL5 that evaluates a local polynomial at the most recent closed bar. It delivers smoothed
Chart Pattern Breakout Indicator : Breakout status and measured targets for 13 chart patterns: channels, wedges and triangles found on zigzag swings, each shaded by what price did after its last swing (forming, broke up, broke down, target hit, failed) and rated with a quality score. Larger patterns
Check out the new article: Hedge (Multiplicative Weights): Blending a Handful of Simple Trading Rules Online . We implement a Hedge (multiplicative-weights) ensemble in MQL5 that combines five simple experts: MA cross, RSI reversion, Bollinger and Donchian breakouts, and a MACD histogram flip. The
Check out the new article: Do My EA's Losses Come in Clusters? A Wald-Wolfowitz Runs Test for Trade Outcomes in MQL5 . A pause after a losing streak assumes that losses come in clusters. CRunsTest turns the closed trades of an account or a tester run into a sequence of wins and losses and checks it
Check out the new article: Integrating News Sentiment to Avoid Strategy Disruption in MQL5 . We present a dynamic news‑sentiment filter for MQL5 Expert Advisors. It uses WebRequest to query a REST API, parses JSON sentiment and confidence, and gates entries and exits alongside Moving Average and RSI
  Libraries: TypeToBytes  (63   1 2 3 4 5 6 7)
TypeToBytes : Byte-wise operation with structures and standard data types. Author: fxsaber
Check out the new article: Hjorth Parameters for MQL5: Activity, Mobility, and Complexity as a Volatility-Momentum-Shape Dashboard . Implements Hjorth's Activity, Mobility and Complexity in MQL5 as an O(1) rolling engine, a regime-colored dashboard indicator, and an Expert Advisor. Explains how
Trading Session Boxes: Tokyo, London, New York MT4 : Draws the Tokyo, London and New York sessions of the last few days as boxes from each session's high to its low, with the high and low printed on the chart. Session hours are set in server time. Author: Dragos Mihai Ofrim
Check out the new article: Neural Networks in Trading: Bidirectional Adaptive Temporal Correlation (BAT) . The article presents the BAT framework, which enables accurate and adaptive modeling of temporal dynamics. Using bidirectional temporal correlation, BAT transforms sequential changes in market
Warm-Up Meter: Measuring Seed Convergence of Recursive Indicators : Part 2 of the indicator regression-testing series. Measures how many bars of history a recursive indicator (EMA, Wilder smoothing, or a cascade of up to three stages) needs before the error left by its starting value falls below a
Risk Percent Lot Size Calculator : Script that calculates the lot size for a given risk percent and stop loss. Places no orders. Author: Maximilian Lukas Limbrunner
Session Range Boxes with Asia Breakout Alert : Draws Asia, London and New York session boxes with high/low range and an optional Asia breakout alert. Author: Maximilian Lukas Limbrunner
Daily Loss Meter for Prop Firm Rules : Shows on the chart how much of today's prop-firm daily loss limit is used. Counts closed P/L (with commission and swap) and floating P/L since the daily reset, and shows the loss so far, the money left and the equity floor. The base can be balance, equity, or
NyTime - broker server time to New York time with US and EU daylight saving : Converts broker server time to UTC and New York time with US and EU daylight saving rules. Works the same live and in the Strategy Tester, where TimeGMT() returns server time. Author: Augusto Martin D'anna
News Day Blocker - no new trades on US CPI and FOMC days : Blocks new trades on US CPI and FOMC days (New York date). Built-in calendar 2015-2027, works in the Strategy Tester. Never opens trades. Author: Augusto Martin D'anna