Articles, Library comments - page 6

Export Closed Trades to CSV with a summary per magic number : Saves the closed trades of your MT5 account history to a CSV file, one row per trade, plus a second file with totals for each magic number. Author: Northern Lights
Check out the new article: Building a Prop-Firm Rule Guard in MQL5 (Part 2): Eight Rules, One Directive, and the Action Layer . An MQL5 prop-firm guard must evaluate account rules before it acts and verify that protective actions have completed. This article examines eight rules, two-phase directive
Trade History Exporter for MT4 - closed trades to CSV with costs, MAE and MFE : Saves your closed MT4 trades to a CSV file for your spreadsheet: one row per trade with points, costs, net result, MAE and MFE. Part closes are joined into one row. Author: Daniel Reynolds
Account Recorder - balance, equity and day drawdown to CSV every minute (service) : A service that writes your balance, equity, floating result, margin and the drawdown from today's highest recorded equity to a CSV file every minute. Runs without a chart and never trades. Author: Daniel Reynolds
Check out the new article: The MQL5 Standard Library Explorer (Part 19): Developing a Reusable Portfolio Risk Manager . This article explores CAccountInfo through a shared risk authority for a multi-symbol Expert Advisor. We model requests, decisions, and reservations, then apply portfolio, symbol
Profit Shield - EA for MT4 : This EA is designed to automatically close BUY and SELL orders independently based on user-defined profit percentages of the account balance. It allows traders to set separate profit targets for both BUY and SELL positions, ensuring that each side of the market is
Check out the new article: Automating Chart Patterns in MQL5 (Part 4): The Flag and Pennant . This article implements a flag and pennant detector in MQL5 using swing-structure data from a higher timeframe. The pole is validated by ATR-based height and a maximum bar duration, and the subsequent
Check out the new article: Account-Wide Position Sizing in MQL5: Capping Each New Trade by the Risk Already Open . When an EA trades several symbols, each new lot size must account for the risk already open. CRiskBudget returns the largest volume that five caps allow: risk per trade, open risk
Check out the new article: Marginal Drawdown Contribution Analyzer in MQL5: Which Configuration Deepens Your Portfolio Drawdown . We show how to attribute realized portfolio drawdown to individual configurations inside MetaTrader 5. Using daily results grouped by magic (optionally magic and symbol)
Check out the new article: Interactive Supply and Demand Zone Manager in MQL5 (Part VI): Dual-Timeframe Zone Detection and Lifecycle Management . This installation implements source‑aware processing: select a lower source or a lower/higher pair, then run detection and lifecycle per source with
New article Extract profit down to the last pip has been published: The article describes an attempt to combine theory with practice in the algorithmic trading field. Most of discussions concerning the creation of Trading Systems is connected with the use of historic bars and various indicators
GotobiDays - include file to find Gotobi days (Japanese payment dates) : Include file with small functions to find the Gotobi days: the 5th, 10th, 15th, 20th, 25th and the last day of each month, moved back to the previous business day when they fall on a weekend or a holiday you list. Information
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
GSLP Active Research EA for Gold : Free MT5 research EA with three closed-bar entry models, ATR stops, fixed-R targets and a tester cost ledger. Version 2.31 uses the chart symbol and timeframe. Historical research: XAUUSD M5. Educational source; published tests were loss-making. Author: Sondang
Round Number Reaction Map: Touch, Reject or Break at 00 and 50 Levels : Tracks every touch of a round "00" or "50" level and keeps a running scorecard of how often price rejects versus breaks through — then maps that history onto the levels nearest to current price. Author: Victor Oluwasomidotun
Range Expansion Clock: When the Day's Range Actually Gets Made. : A per-hour profile of when the day's range actually gets built, plus a live readout of whether today is running ahead of or behind its usual pace Author: Victor Oluwasomidotun Akindipe
Symbol Trading Hours: broker trade sessions, countdown and off-session bars : An indicator that reads the broker's weekly trade-session schedule for the chart symbol and shows whether trading is open, when the next close or open happens and a live countdown to it. It also marks bars that lie
Backtest Data Preflight: check broker bar and tick history : Check the first and last available bars, gaps between bars, and available MT5 tick history for a date range before a backtest. Author: George Ciprian Mandache
TradeGateway: Fake Broker for Trade Management Tests : A library for MetaTrader 5 that puts trade management code behind an interface and tests it against a fake broker, without a trade server. The fake checks stops level, freeze level, tick grid and volume step, answers with retcodes chosen by the
Trailing Stop That Starts at the Take-Profit Level : Starts a trailing stop when the price reaches the take-profit zone of a position you already have open. The take profit is removed, extended or kept. It never opens trades. Author: Gilberto Cardona Velez
Gold MACD Divergence Map : MACD regular and hidden divergences on closed bars with an honest first-touch statistics panel. Not a trading signal. Author: Pavel Polikarpov
Check out the new article: 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
Close By Filter - close positions by side, symbol, magic number and profit : Closes only the open positions that match your filters and, if you choose, deletes matching pending orders. Shows a summary and asks before it acts. Author: Daniel Reynolds
Trade History Exporter - closed trades to CSV with R multiple, MAE and MFE : Saves your closed trades to a CSV file for your spreadsheet: one row per trade with points, costs, net result, R multiple, MAE and MFE. Author: Daniel Reynolds
Check out the new article: 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
Check out the new article: 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
Currency Strength Free MT4 - Eight Currency Scanner : Free MQL4 currency-strength dashboard with eight major currencies, ranking across up to 28 FX pairs, broker-symbol discovery and closed-bar data-quality checks. Standalone MIT-licensed source; no trading operations. Author: Sondang Manik
Check out the new article: 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
Check out the new article: 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
  Libraries: MultiTester  (590   1 2 3 4 5 ... 58 59)
MultiTester : Multiple runs/optimisations in Tester. Author: fxsaber