Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Accedi al CodeBase dal tuo terminale MetaTrader 5
Non hai trovato il codice che fa per te? Ordinane uno dalla sezione Freelance
Come scrivere un Expert Advisor o un indicatore

I migliori codici sorgente MQL4 e MQL5 in base ai giudizi degli utenti - 7

Invia il tuo codice

Consente all'EA di determinare se ci sono EA duplicati sul grafico in base alle condizioni.

Una semplice strategia di trading binario che conta i colori delle candele.

Questo indicatore combina WPR e profitto/perdita totale. Non so come spiegarvi meglio questo indicatore, ma potete provarlo.

Trend based grid Expert Advisor for MetaTrader 5 using EMA and RSI indicators. Dynamic lot size is calculated from account balance with minimum and maximum lot protection. Initial trade opens when price confirms trend direction relative to EMA and RSI levels. Grid orders are added at fixed point distance using controlled multiplier. All trades are managed as a basket and closed at defined profit target or maximum loss level. Includes optional news hour pause and market close filter. No DLL or external services required.

Include-file class that measures inter-tick latency, filters false alarms via a self-normalising ATR volatility gate, and broadcasts persistent lag alerts to other EAs via GlobalVariable IPC.

ExMachina Safe Scalping is a professional-grade Expert Advisor built for conservative breakout scalping on Gold (XAUUSD), Silver (XAGUSD), and Forex majors.

Tracciamento in tempo reale delle regole della società di investimento: drawdown giornaliero, drawdown massimo, avanzamento dell'obiettivo di profitto, conteggio dei giorni di trading e stato della sfida con barre di avanzamento visive. Preimpostazioni per FTMO, MyFundedFX, E8, TFT e Bulenox. Indicatore puro - nessuna interferenza con il trading.

Un cruscotto leggero e guidato dai tick che rivela la pressione Bid-Ask a breve termine direttamente sul grafico.

Trade With MA Trends ATR TPSL Line and The Line Of Pivot Point

Evidenzia i pattern di candele Inside Bar sul grafico e fornisce avvisi popup e push opzionali quando viene rilevato un nuovo pattern.

Complete SMC toolkit: BOS/CHoCH detection, Order Blocks (internal + swing), Fair Value Gaps, Equal Highs/Lows, Premium/Discount zones, Strong/Weak H/L, trend candles, dashboard, 4-channel alerts. Free.

Il MACD standard sulla piattaforma MT5 sembra non essere sufficiente, quindi ho codificato questa versione copiando dal pinescript.

Portfolio Scorer is a standalone MQL5 script that evaluates the quality of a multi-EA portfolio across three critical dimensions that most algo traders overlook. The script reads daily profit and loss data from CSV files (one per Expert Advisor), computes a full Pearson correlation matrix between every strategy pair, maps trading activity by UTC hour and weekday, detects asset class diversity, and produces a weighted composite score with a letter grade from A+ to F. How it works: The tool runs in four sequential stages. First, the Data Loader reads and validates CSV files containing daily returns for each EA in the portfolio. Second, the Correlation Engine calculates the complete NxN Pearson correlation matrix and flags pairs that exceed a configurable threshold. Third, the Coverage Analyzer maps which hours and weekdays have active trading and identifies blind spots. Fourth, the Scoring Function combines all three dimensions into a single composite score using adjustable weights.

MT5 indicator showing bar index, price difference in points, and percentage change. Ideal for EA integration and fast analysis.

Institutional-grade forex session detection and analysis library for MetaTrader 5.

Runtime trade frequency adjustment library for MetaTrader 5.

Professional Telegram integration library for MetaTrader 5 EAs.

Institutional risk analysis library for MetaTrader 5. Zero external dependencies. Pure MQL5 mathematics.

Centralized indicator handle management library for MetaTrader 5 EAs.

On-chart candle analysis indicator with structure tags, sentiment, and trend arrows for MetaTrader 5.

Hon-APS (Advanced Pattern Scanner) is a sophisticated, open-source Expert Advisor for MT5. Unlike typical retail bots relying on lagging indicators, Hon-APS trades structural breakouts backed by quantitative Order Flow algorithms. It actively scans for classical chart patterns (e.g., Head & Shoulders, Bottoms, Triangles) and validates entries using L2 Order Book absorption and bid/ask imbalances. Complete with a polished on-chart UI, true Kelly Criterion risk management, and a robust macroeconomic news scraper, it's designed for prop-firm viability and high-end capital preservation.

ASQ PropGuard is a real-time prop firm rule monitor for MetaTrader 5. It tracks daily loss limits, maximum drawdown, profit targets, and trading day requirements — all displayed on a dark-themed chart overlay with color-coded progress bars and a live pass/fail verdict.

Un indicatore di apprendimento automatico non supervisionato che applica l'algoritmo di clustering K-Means all'azione storica dei prezzi, individuando e tracciando matematicamente i veri pool di liquidità istituzionale senza pregiudizi umani.

Swap Monitor Panel is a lightweight, fully customizable indicator that overlays a live swap rate dashboard directly on your MT5 chart. It scans every symbol in your MarketWatch window and presents long swap, short swap, estimated daily cost, and weekly cost side by side — all in one clean, readable panel.

Symbol Summary è un servizio per MT5 che apre una finestra di visualizzazione separata e mostra un rapporto dettagliato su un simbolo di trading. Supporta la lingua russa e inglese, il ridimensionamento della finestra, lo scorrimento, l'aggiornamento automatico del report quando si cambia simbolo o timeframe del grafico senza riavviare il servizio.

This mini custom-built MetaTrader 5 dashboard is a robust, comprehensive risk management and performance based monitoring tool and utility created to give both Prop firm and personal funded traders full visibility and control over their trading activity in real time.

Interactive Correlation Heatmap using high-performance MQL5 matrix functions. > Features a draggable, minimizable dashboard with instant multi-timeframe switching and a vivid 5-band color scale for real-time currency relationship analysis.

ASQ Order Executor — Institutional order execution wrapper for MQL5 EAs ASQ Order Executor provides institutional-grade order execution with automatic retry logic, slippage monitoring, partial fill handling, requote management, and comprehensive execution statistics. Drop it into any EA for production-ready trade execution.

A chart-cleanup + quick-trading layer for MT5

Utility script that exports your MetaTrader 5 trading history to a CSV file. It automatically calculates Maximum Favorable Excursion (MFE), Maximum Adverse Excursion (MAE), and Forward Returns (Time-Based Excursions) in whole points for deep quantitative analysis in Excel. It will allow you to understand whether you close your trades too early and can help optimize overall trading execution.

The Weekend Gap Statistics & Distribution Analyzer is a purely analytical MQL5 indicator designed to evaluate the historical behavior of weekend price gaps. It scans chart data to calculate gap closure rates and measures the adverse excursion (drawdown) experienced before a gap successfully closes. By providing statistical distributions—including the 70th and 90th percentiles of adverse heat—this tool enables traders to make data-driven decisions. It moves beyond simple averages, allowing traders to properly assess risk, filter out low-probability instruments, and optimize stop-loss placement when fading weekend gaps.

A quantitative Information Theory engine that calculates the Shannon Entropy of price distribution to mathematically measure market randomness and algorithmic predictability.

An aerospace-grade state estimation algorithm that dynamically filters out market noise and manipulation wicks to reveal the true underlying execution price with zero static phase-lag.

I flussi di lavoro di etichettatura a tripla barriera utilizzano spesso una costante arbitraria (0,5–1,0%) o un’ipotesi di spread tradizionale come soglia min_ret. Una soglia impostata al di sotto del costo effettivo di transazione round-trip fa sì che il flusso di lavoro etichetti il rumore determinato dai costi come segnale negoziabile. Il set di dati etichettato tende quindi a sovrastimare sistematicamente l’edge, e qualsiasi modello addestrato su tali etichette subisce un overfitting rispetto a un artefatto dello schema di etichettatura piuttosto che alla struttura di mercato reale. TransactionCostCollector.mq5 è uno script autonomo che risolve la fase di raccolta dati relativa a questo problema.

Script per impostare lo Stop Loss su ogni posizione aperta in base a una perdita target espressa nella valuta del conto (ad es. 50 $ per posizione). Funziona con qualsiasi valuta di deposito e qualsiasi simbolo forex. Verifica i livelli di stop e di congelamento del broker. La conversione valutaria viene gestita automaticamente.

Educational MT5 chart panel for XAUUSD showing live spread, ATR volatility, EMA trend bias, RSI condition, daily range and active trading session.

Dynamic Fair Value Gap (FVG) è un indicatore MQL5 per MetaTrader 5 che rileva automaticamente gli squilibri dei prezzi di mercato. Questo indicatore è particolarmente indicato per i trader che utilizzano la strategia Smart Money Concepts (SMC).

Session Boxes is a custom indicator for MetaTrader 5 that draws color-coded rectangular boxes on the chart representing the high-low range of the Asia, London, and New York trading sessions. The indicator uses H1 data internally and supports configurable session hours in GMT along with a broker server offset parameter

A simple Expert Advisor based on the crossover of two EMAs (fast and slow), with configurable Stop Loss, Take Profit, lot size, and Magic Number.

Spread Meter — Live Single-Symbol Spread Tracker with Max/Min Record Spread Meter by Fox Wave is a sleek, single-symbol dashboard that displays the live spread of your current chart symbol in real time, while permanently recording the widest and tightest spread ever seen — with exact timestamps.

1234567891011121314...200