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

Libreria di Codici Sorgente MQL5 per MetaTrader 5

icon

Questa è la più grande libreria di codici sorgente gratuiti per i programmi della piattaforma MetaTrader 5. Qui puoi trovare Expert Advisors, indicatori tecnici, script e librerie pronti all'uso. Sfrutta la libreria di codici per imparare il linguaggio MQL5 e sviluppa le tue applicazioni di trading automatico partendo dai codici disponibili.

I codici possono essere liberamente scaricati, testati e lanciati in MetaTrader 5. La libreria è anche disponibile direttamente dalla piattaforma MetaTrader 5 e dall'ambiente di sviluppo MetaEditor.

Invia il tuo codice
più recenti | migliori

Read-only MT5 script that estimates stop-distance cash loss in account currency, reserves explicit cash costs and floors volume to the broker grid. It never sends or modifies an order.

XAUUSD MTF Liquidity & Order Block Reversal Strategy A professional Smart Money Concepts (SMC) based MT5 indicator designed primarily for **XAUUSD (Gold)**. The strategy combines multi-timeframe liquidity, order blocks, liquidity sweeps, breakout/reversal confirmation, and M1 swing-based risk management to identify high-probability BUY and SELL opportunities. Strategy Features Multi-Timeframe Liquidity Detection The indicator identifies important liquidity and order-block levels from: * Best Day-wise Liquidity * H4 Liquidity & Order Blocks * M30 Liquidity & Order Blocks * M15 Liquidity & Order Blocks * M5 Liquidity & Order Blocks The strongest day-wise liquidity replaces simple Previous Day High/Low logic and searches historical daily candles for significant liquidity concentrations.

Swing Trading Dashboard is a visual indicator for MetaTrader 5 (it does not generate automatic trade signals — it only displays information on the chart). Essentially it's a "dashboard" panel that calculates the recent swing trading range and shows where the current price sits relative to it — mid-range, near a boundary, or already broken out.

This indicator is a professional Scalping Dashboard utility designed specifically for MetaTrader 5 (MT5). It displays real-time vital market status information and scalping strategy conditions (based on Exponential Moving Arrows/EMAs), automatically computing spreads, momentum, and moving averages to output instant BUY/SELL SETUP visual signals.

Plots the previous trading week's High and Low as horizontal reference levels across the current week, with optional multi-week history for context. No repainting, no discretion — the levels are read directly from the completed Weekly bar.

Il KCI Volatility Distance è un algoritmo avanzato e adattivo, meticolosamente progettato per mappare con estrema precisione lo slancio del mercato e la direzione del trend. Utilizzando un calcolo proprietario basato su matrici, questo strumento filtra dinamicamente il rumore di mercato e fornisce una prospettiva rigorosamente quantitativa sulla forza direzionale. Realizzato con un nucleo di programmazione orientata agli oggetti (OOP) altamente ottimizzato, è progettato sia per garantire chiarezza visiva nel trading sia per integrarsi perfettamente con gli Expert Advisor o i moduli di Machine Learning, assicurando prestazioni CPU ultraleggere su più asset.

Uno strumento e un sistema per la gestione di un'attività di babysitting :D

Daily Zone Recovery is a multi-strategy trading expert advisor for MetaTrader 5 that operates based on the previous trading day’s high and low levels. The expert advisor monitors price behavior near daily extremes, uses three independent entry strategies, and can manage positions using a fixed-volume grid.

A read-only audit script for accounts running several EAs (or manual trades alongside them). It groups the closed-trade history by magic number and prints one line per magic: closed round turns, net P/L including swap and commission from BOTH sides of the trade, win rate, profit factor, average win/loss, currently open positions and pendings, activity dates and symbols - sorted by net result, with a CSV export for spreadsheets.

Sell Arrow SL Box: Extends UPWARDS from the Sell Arrow. Buy Arrow SL Box: Extends DOWNWARDS from the Buy Arrow.

A native MQL5 tool that reconstructs closed positions from deal-level history, flags the ones closed through more than one exit, and reprices each one at its own first, last, and best exit rates to measure whether scaling out actually added value. Reports a Value-Add Ratio, a Scale Out Win Rate, an Efficiency figure, and a single-trade dependence check, combined into an A+ to F score with recommendations. Runs out of the box against a built-in demonstration data set; a companion script exports the real input file from your own account history. Pure MQL5, no external libraries.

Automatic structure-based SL, breakeven, ATR trailing, and dollar-based profit protection for manual MT5 trades and pending orders on Gold and selected FX pairs.

Marks non-repainting swing highs and lows using configurable LeftBars / RightBars pivots. Sends push and email alerts on each new confirmed swing.

Draggable Entry, Stop-Loss and Take-Profit lines with a live on-chart panel that calculates the exact lot size for a chosen account risk. No manual math, no guessing — drag the lines, read the size.

La Matrice Direzionale KCI (KCI-DX) è uno strumento analitico avanzato, ispirato alla fisica, che estrae la cinematica del mercato misurando la lunghezza del percorso dei prezzi e l’energia di volatilità. A differenza degli strumenti di momentum convenzionali, il KCI-DX impiega una normalizzazione dinamica dello Z-Score combinata con una funzione di attivazione sigmoide. Ciò garantisce che il risultato sia perfettamente compreso tra 0 e 100, fornendo un'identificazione estremamente reattiva della forza del trend e della tendenza direzionale senza distorsioni dovute agli estremi storici.

Il massimo dell’algoritmo a griglia e dello slancio cinetico. Benvenuti nel KCI Native Matrix Engine: un colosso algoritmico spietato e guidato dalla matematica, sviluppato in modo nativo per MetaTrader 5. Progettato per gli ambienti di trading ad alta frequenza (HFT), questo EA elimina le librerie standard appesantite e opera direttamente a livello di instradamento del server.

Free open-source MT5 read-only chart utility that scores current trend conditions and builds broker-normalized long and short risk plans. It uses moving-average direction and slope, ADX, Efficiency Ratio, ATR, spread, account currency and symbol specifications. It never opens, modifies or closes trades.

Set your risk %, drag the stop, and get the exact lot size priced in your account currency — margin and target included. Calculates only, never trades.

Checks a hypothetical MT5 market or pending order against current symbol, volume, tick-size, stop-distance and filling rules without sending a trade.

Prints a privacy-conscious snapshot of the current MT5 broker, account, symbol and terminal environment to the Experts log for diagnostics and support.

Open-source indicator combining moving-average direction, ADX and Kaufman's Efficiency Ratio into a transparent trend-condition score. Informational only; no trade execution.

Questo indicatore è un oscillatore di tendenza e momentum che rileva la posizione del prezzo rispetto al proprio canale di volatilità strutturale, utilizzando una relazione normalizzata tra il Parabolic SAR e gli Envelopes.

Un copiatore di operazioni da cliente a cliente locale con dashboard personalizzata in C# e canale di trasporto in Go; il codice sorgente completo è disponibile nell'archivio (versione basata su socket), latenza estremamente bassa

A non-repainting Stochastic-based indicator that generates buy and sell signals based on extreme zone crossovers, featuring an alternating signal filter and bar-close alerts.

Questo EA per MT5 è uno strumento di diagnostica che non esegue trade, ma raccoglie e mostra le specifiche tecniche del broker e dell'ambiente di trading. Il codice è strutturato in 4 blocchi principali: Raccolta Dati (CollectAll): Estrae informazioni sull'account (leva, valuta), sul simbolo (digits, spread, swap, volumi, stops level), latenza (ping) e fuso orario (differenza Server-UTC). Calcola lo swap in valuta reale. Campionamento (OnTick): Aggiorna in tempo reale le statistiche sullo spread (minimo, medio, massimo). Output: Stampa i dati nel log "Esperti", li salva in un file CSV e li mostra su un pannello grafico sul chart (UpdatePanel). Helper: Funzioni come CalcSwapInCurrency e vari *ToStr convertono i dati numerici grezzi del broker in stringhe leggibili.

Plots the previous trading day's High, Low and Close as horizontal reference levels across the current session, with optional multi-day history for context. No repainting, no discretion — the levels are read directly from the completed Daily bar

Una libreria per il recupero dei segnali di prossimità per gli indicatori basati sui canali

Consente di monitorare gli spread e gli swap!

On-chart trade management utility for MetaTrader 5 designed exclusively to adjust existing manual or EA positions. Features one-click controls for Break-Even placement, point offsets, profit locking, trailing stops, Risk-to-Reward (1R–3R) Take Profit targets, and volume-validated partial closures (25%–100%). Includes a draggable chart GUI and filtering by symbol and direction. Does not open new trades.

Professional open-source Candle Strength Analyzer for MetaTrader 5. Analyzes candle body, upper and lower wicks, buyer/seller pressure, rejection, range expansion and candle strength in real time.

Professional open-source Moving Average Dashboard for MetaTrader 5. Monitors EMA 20, EMA 50, EMA 100, EMA 200, SMA 50 and SMA 200 with price position, trend structure, MA Score and overall market bias.

Professional open-source Multi-Timeframe MACD Dashboard for MetaTrader 5. Analyzes MACD Main, Signal and Histogram across M1, M5, M15, M30, H1, H4 and D1 with an overall momentum score and market bias.

Professional open-source Multi-Timeframe RSI Dashboard for MetaTrader 5. Analyzes RSI across M1, M5, M15, M30, H1, H4 and D1 to monitor momentum, overbought and oversold conditions in real time.

Professional open-source Multi-Timeframe Trend Dashboard for MetaTrader 5. Analyzes M1 to D1 using EMA 20, EMA 50 and price position to identify Bullish, Bearish and Neutral market conditions.

Professional open-source Market Volatility Monitor for MetaTrader 5. Analyzes current ATR, average ATR, ATR ratio, daily range and spread to classify market volatility in real time.

Professional open-source Drawdown Monitor for MetaTrader 5. Tracks current, daily and peak-equity drawdown, floating P/L, margin levels and configurable account risk conditions in real time.

Professional open-source Trade Statistics Dashboard for MetaTrader 5. Analyzes trading history with win rate, profit factor, reward/risk, streaks, BUY/SELL performance, lot statistics and floating P/L.

Professional open-source Symbol Information Dashboard for MetaTrader 5. Displays live prices, spread, tick value, contract size, lot limits, swaps, trading conditions, daily range and ATR in real time.

Professional open-source Trading Session Monitor for MetaTrader 5. Tracks Sydney, Tokyo, London and New York sessions, overlaps, countdowns, spread, ATR and real-time market activity.

Professional open-source Account Health Monitor for MetaTrader 5. Monitors balance, equity, margin, drawdown, exposure and trading conditions with a real-time 0-100 Account Health Score.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203