Articles, Library comments - page 10

PassRecorder : A library for MetaTrader 5 that writes every pass of an optimization to a SQLite file: result, test statistics, your own metrics and the inputs of the pass. A demo Expert Advisor optimizes the Rosenbrock function in the mode "Math calculations". Author: Rico Hehl
Intraday Volatility Profile : Typical range of each time of day (median of the previous N days) versus the actual range of the bar. Shows when the market really moves. No look-ahead, no repainting. M1 to H1. Author: Dario Cadeddu
Trade Journal Exporter - closed trades to CSV, one row per position, with MFE/MAE, R multiple and session : Exports your closed trade history to a CSV file with one row per position (not per deal), ready for Excel, Python or any journal. Each row has ticket, symbol, magic number, comment, side
Rollover Cost Table - swap mode from the symbol, triple-swap day from the broker : An MQL5 indicator that draws a table on the chart with one row per open position and shows what one more night of holding it costs, in the deposit currency where the symbol's swap mode allows it. The swap mode and the
Trailing Stop Manager - ATR, Chandelier, swing, SAR, MA, break-even with costs : Trails the stop loss of open positions with one of seven methods plus a break-even that includes the commission. Moves a stop only on a real improvement, never back, respects stop and freeze levels, limits requests
EventTracer : An Expert Advisor for MetaTrader 5 that prints one line each time one of its event handlers runs, on a chart, in the Strategy Tester and during an optimization. It never trades. Author: Rico Hehl
Volume Profile with Naked POC - day, week, month or year profiles built from M1 bars : Volume profiles per day, week, month or year with POC, value area high and low (classic two-rows method), naked POC lines that stay until price trades through them, and a developing POC. Built from M1 bars. 8
Check out the new article: Offline Reinforcement Learning in MQL5: Conservative Q-Learning from Historical Trade Logs Without Live Exploration . Build and deploy a conservative, offline‑trained policy entirely in MQL5. Logged trades become a fixed dataset for a two‑layer Q‑network trained with
Murrey Math Line X MT5 : Murrey Math Line X MetaTrader indicator — a pivot line indicator that will definitely help every trader who knows how to trade with support, resistance, and pivot lines. It displays 8 primary lines (with 5 more additional ones) on the main chart, helping you to find the best
Check out the new article: Neural Networks in Trading: Bidirectional Adaptive Temporal Correlation (Conclusion) . The BAT framework transforms a chaotic stream of market data into accurate forecasts and well-informed trading decisions. Backtesting shows steady capital growth with controlled risks
Check out the new article: Native SFTP Client in MQL5: Uploading Trade Reports over SSH Without External Tools . Send MetaTrader 5 trade reports to an SFTP server without WinSCP or external scripts. A pure-MQL5 SSH/SFTP client uses host-key pinning, safe packet handling and a temporary “.part” swap
Check out the new article: How Far Away Is the Stop-Out? A Stop-Out Threshold Finder and Pre-Trade Guard in MQL5 . CStopOutGuard shows how far a symbol's price can move before the modeled margin level reaches stop-out, and how much closer a planned order would bring that threshold. Positions are
Check out the new article: Price Action Analysis Toolkit Development (Part 65): Building an MQL5 System to Monitor and Analyze Manually Drawn Fibonacci Levels . The Fibonacci retracement tool is an essential component of price action analysis, providing critical levels for potential market
New article An Expert Advisor Made to Order. Manual for a Trader has been published: Not all traders are programmers. And not all of the programmers are really good ones. So, what should be done, if you need to automate your system by do not have time and desire to study MQL4? Author: Andrey...
New article Three Aspects of Manual Trading Automation. Part 1: Trading has been published: This article is the first in a series of articles on manual trading automation in the МetaТrader 4 trading platform. Each of the articles will be devoted to one of the following aspects: automation of manual...
Check out the new article: From Novice to Expert: Animated News Headline Using MQL5 (VIII) — Quick Trade Buttons for News Trading . While algorithmic trading systems manage automated operations, many news traders and scalpers prefer active control during high-impact news events and fast-paced market
Check out the new article: Building a Dynamic Drop List in MQL5 . This article describes CDropList, a composite class that implements an interactive drop-down list from standard MQL5 chart objects. It details creation/destruction, coordinates and sizes, color configuration, item management, and a
Check out the new article: Developing Smart Chart Objects in MQL5 (Part 3): Integrating Lifecycle Alerts into Managed Trendlines . This article adds a lifecycle-driven alert layer to the Smart Trendline Manager. Alerts originate from state transitions (touch, bounce, break, resurrection), pass
Check out the new article: Low-Frequency Quantitative Strategies in MetaTrader 5 (Part 6): A Constant-Dollar Exposure FX Trading System Based on Fixed-Income Interest Rate Yield Differentials . We describe ANANTA, a rules-based FX portfolio model that measures deviations in Interest Rate Swap
Check out the new article: Building Your Personal Expert Advisor (Part 5): Risk Management IV—Basket Risk and Strategy-Specific Sizing . Part 5 moves risk control from single trades to a basket-level framework. The EA aggregates its own positions, computes volume‑weighted entry, floating P/L
Check out the new article: How to Develop a Multi-Currency Expert Advisor with the AI Assistant in MetaTrader 5 . Building a multi-symbol Expert Advisor — one that also trades using different strategies — is a real challenge even for an algorithmic trader with many years of experience. But with the
Chart Indicators to CSV : A script for MetaTrader 5 that exports the raw values of all buffers of every indicator on a chart to one CSV file, without changing any code. Author: Rico Hehl
Donchian Channel with Breakout Alerts : Donchian Channel (highest high and lowest low of the last N bars) with a middle line, breakout arrows on the chart and alerts by pop-up window, push notification or e-mail when price breaks out of the channel. Author: Theophilus Adebomi Adeniyi
Check out the new article: Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 9): Clipping, Bounds and Hit Testing . This article extends a Cairo-style vector engine in MQL5 with anti-aliased clipping. We build rectangular and path-based clipping regions, combine their coverage in the
Squeeze Momentum: Bollinger Bands Inside Keltner Channel : Squeeze Momentum indicator: detects periods of volatility compression, when the Bollinger Bands move inside the Keltner Channel, and shows the direction and strength of the momentum that builds up during and after the squeeze. Author
Check out the new article: Modular Indicator Architecture in MQL5 (Part 2): Standard Smoothing Methods as Interchangeable Modules . EMA, SMMA, and LWMA join SMA as modules of the indicator framework from Part 1, all four derived from a new base class, CSmoothingBase. The root object, CIndicator
Check out the new article: Building and testing Aroon Trading Systems . In this article, we will learn how we can build an Aroon trading system after learning the basics of the indicators and the needed steps to build a trading system based on the Aroon indicator. After building this trading system
Check out the new article: Building Your Personal Expert Advisor (Part 4): Risk Management III—Risk Models and Order Execution . The EA now defines risk by percentage, fixed cash, or fixed lot and can measure percentage against balance or equity. It supports market, limit, and stop orders, sizes
Truncation Audit: Detecting Look-Ahead and Repainting in MQL5 Indicators. : Part 3 of the indicator regression-testing series. Compares the value an indicator had when each bar closed with the value recomputed on the later history, flags every bar that changed (look-ahead or repainting), and
Volatility Regime Percentile : Ranks the current ATR against its own recent history and colours each bar as a LOW, NORMAL or HIGH volatility regime, with a panel showing ATR in price and points, ATR vs its median and how long the regime has held. Author: Winston Teddy Meyn