Articles, Library comments - page 12

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
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
  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
No Hedge Guard - close the newer side when a buy and a sell are open on one symbol : Closes the newer side when a buy and a sell are open on the same symbol (manual trades or any EA). For prop firm accounts that forbid hedging. Never opens trades. Author: Augusto Martin D'anna
Giano Session Range Breakout EA : Night session range breakout for XAUUSD: one decision per day, a hash-chained journal written before every order, and safe recovery after restarts. Author: Alessandro Lupi
Spread and Tick Velocity Monitor : Lightweight real-time HUD for MetaTrader 5 that monitors live spread (points and pips), session Min/Avg/Max spread, and tick arrival velocity (ticks/sec and ticks/min) with automatic market regime classification. Author: Gerardo Lopez Martinez
One-Click Close All Positions with Slippage Guard : Execution-safe utility script to close open positions in one click with configurable slippage deviation, spread guard protection, symbol/P&L/Magic filters, and automatic retry handling. Author: Gerardo Lopez Martinez
Check out the new article: Implementation of the Gaussian Mixture Model in MQL5 . The article examines the theoretical foundations and practical implementation of the Gaussian mixture model in the MQL5 language. It introduces the CGMM class and provides examples of its use, as well as a methodology
Check out the new article: Building Your Personal Expert Advisor (Part 2): Risk Management and Dynamic Lot Sizing . This part implements risk-based position sizing for the EA. Lot size is derived from account balance, a chosen risk percent, and ATR-based stop distance, then confined and rounded to
Tick Volume Delta Histogram (Buy/Sell Pressure Estimate) : Estimates buy/sell pressure by splitting the tick volume of every bar into a buy part and a sell part. The difference (delta) is shown as a four-color histogram with an optional EMA line. Author: Theophilus Adebomi Adeniyi