Libreria di Codici Sorgente MQL5 per MetaTrader 5 - 8

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

TradingView-style Long/Short position tool for MT5: drag the Entry, Stop and Target lines and get lot size, risk, reward, R:R and margin instantly.

MA Toolkit: a compact moving average indicator written from scratch. Choose SMA, EMA or LWMA for a fast and a slow line, see the fast line colored by its slope, and get optional crossover arrows, alerts and an info panel.

Expert advisor di base che opera in base alla direzione della candela da 5 minuti delle 9:30 di New York sui CFD sugli indici (US100 / NAS100). Un’operazione al giorno, stop loss e take profit fissi, chiusura forzata, senza martingale né grid.

Exports bars of any timeframe and, optionally, every tick from the Strategy Tester to CSV, without the chart's 100,000-bar limit. Reports gaps inside trading sessions. Places no orders.

MTF order blocks from the chart timeframe or a higher one, shaded on the chart and followed bar by bar: fresh until price comes back, tested after that with every return counted, broken once a close goes through. Sizes are measured in average ranges, so the defaults fit any symbol, and a new zone absorbs the ones it overlaps, so zones never stack.

GER40 Evening Coil è un EA gratuito e completamente open source per l'indice German 40 su H1. Effettua acquisti nella sessione serale dopo una barra recente con range ristretto, quando la volatilità è contenuta e il volume è normale, e chiude tutte le posizioni entro le 23:00 (ora del server). Quattro condizioni, solo posizioni lunghe, una sola operazione alla volta, uno stop loss su ogni operazione.

An animated 24-hour dial of the Sydney, Tokyo, London and New York sessions with automatic daylight saving time, a countdown to the close of the current candle, and live spread and day range. The panel collapses into a bar and can be dragged on the chart.

An animated one-click trading panel for the chart symbol: buy and sell with live prices, lot stepper, close all, close profit, close loss and breakeven, with confirmations, a practice mode and a collapsible, draggable panel.

An animated chart panel that shows the equity drawdown of the account in real time, the closed result of the day, week and month, and one line for every Expert Advisor running on the account.

Live rolling-correlation heatmap across your watchlist — spot hidden overlapping exposure before you stack three “different” trades that are secretly one trade.

Local MT5-to-MT5 trade copier through the Common files folder. One EA in Master or Slave mode: lot multiplier or fixed lot, symbol prefix/suffix, reverse, SL/TP and partial close sync.

Logs the slippage, fill delay and spread of every deal on the account (manual, EAs, SL/TP hits) to a CSV file and shows a live summary. It never trades.

Closes all positions and pending orders when the account profit or loss reaches your target, in money or % of balance. Floating or full-day P/L, symbol and magic filters.

Minimal include file to license your own EAs and indicators: allowed account numbers, expiry date, demo-only trial mode and broker server filter. Example EA included.

Account guardian for prop firm rules: closes all trades and blocks trading before the daily loss or max loss limit is hit, with an optional profit target lock.

Finds out why an EA or trade copier cannot trade on your account. Read-only script, never trades.

Opening range breakout indicator for MT5 on Gold (XAUUSD), forex and indices: box of the first minutes of up to three sessions, breakout levels, two targets by range height, arrows and alerts on the closed candle. Open source code.

Uno strumento di gestione manuale delle operazioni per MetaTrader 5: blocchi Renko completati, break-even e trailing stop loss configurabili, oltre a un pannello di controllo Renko direttamente sul grafico. Nessun ingresso automatico.

Uno script per i conti che utilizzano diversi Expert Advisor o configurazioni. Aggrega il risultato netto di ciascuna configurazione (magic number, oppure magic number e simbolo) per giorno di calendario e misura il contributo di ciascuna al drawdown del portafoglio: drawdown aggiunto con il metodo “leave-one-out”, quota del drawdown peggiore e quota della varianza di Eulero. Visualizza valutazioni, raccomandazioni e un punteggio euristico da A+ a F. Funziona immediatamente su un portafoglio dimostrativo integrato ed è scritto in MQL5 puro.

Records the spread of one or many symbols to CSV every minute (min, time-weighted average, max), with ready tables per hour of day and per trading session. Restart-safe, never trades.

Monday Dip EA è una strategia di trading quantitativa, basata sul tempo e esclusivamente long, progettata principalmente per i CFD sui principali indici azionari (come US500, UK100) con una cronologia giornaliera completa. Funziona esclusivamente come un sistema di acquisto sui ribassi con limiti temporali, piuttosto che come un indicatore che segue il trend.

Visualizza l'ATR giornaliero, settimanale e mensile, l'intervallo massimo-minimo corrente, l'intervallo espresso in percentuale dell'ATR e la variazione di prezzo rispetto all'apertura di ciascun periodo.

Draws non-repainting Tokyo/Asia, London, and New York intraday session high/low range boxes, exposes running session High/Low buffers for EAs via iCustom, and displays a live Spread, Broker StopsLevel, and ATR(14) points HUD.

Protects your account from a prop-firm rule breach: daily loss limit, max drawdown (static or trailing) and profit-target lock. On a breach it closes all positions and pending orders, then blocks new trades until the lock resets.

Tests any MT5 indicator for repainting: records what every buffer showed when each bar closed, reads the same bars again later and reports values that changed, signals that appeared late and signals that vanished, with dates.

Supertrend indicator for MT5 on Gold (XAUUSD), forex and indices: ATR trailing line in two colours, buy and sell arrows only on the closed candle of the flip, popup, push and sound alerts. Open source code.

EA gratuito per il breakout: intervallo asiatico, breakout di Londra, un’operazione al giorno, stop loss sempre impostato, lotto in base alla percentuale di rischio. Nessuna strategia a griglia, nessun martingala. / EA gratuito: breakout del range asiatico nella sessione di Londra, un'operazione al giorno, stop loss sempre impostato, lotto in base alla percentuale di rischio. Senza strategia a griglia né martingala.

Un Expert Advisor per MetaTrader 5 (MT5) basato sui breakout dei massimi e minimi di oscillazione precedenti. L'EA inserisce ordini in sospeso in prossimità di strutture frattali confermate e gestisce ogni operazione con stop-loss e take-profit definiti, oltre a regole opzionali di gestione delle posizioni.

Persistent MQL5 outbox with a Telegram demo and offline tests. An uncertain result is never retried automatically. Manual retry may duplicate a message; SENT means API acceptance, not a read receipt.

Chiude tutte le posizioni e blocca l'apertura di nuove operazioni quando viene raggiunto il limite di perdita giornaliero, la perdita massima o l'obiettivo di profitto. Progettato per le sfide delle società di trading proprietario. Funziona con il trading manuale e con qualsiasi altro EA.

Disegna gli intervalli delle sessioni asiatica, londinese e newyorkese sotto forma di riquadri colorati con i rispettivi massimi e minimi, oltre a linee di estensione tratteggiate per il trading di breakout. Gli stessi intervalli vengono visualizzati su ogni timeframe fino all'H1.

Lot size calculator panel for MT5 on Gold (XAUUSD), forex and indices: risk in percent of balance, percent of equity or money, stop in points, exact loss per lot, one click Buy or Sell with stop and target. Open source code.

Liquidity indicator for MT5 on Gold (XAUUSD), forex and indices: equal highs and equal lows from swings, marked as swept when a wick runs the level and the candle closes back. Open source code.

Fair value gap (FVG) indicator for MT5 on Gold (XAUUSD), forex and indices: three candle gaps on closed bars, ATR size filter, the open part shrinks as price fills it, mitigation by touch, midline or full fill. Open source code.

Структура M5 как при ручной разметке: развороты берутся по фракталам H1, точки ставятся на настоящие экстремумы свечей M5. Волна никогда не проходит мимо экстремума, подтверждённые точки не перерисовываются.

This is an indicator that identifies Wolfe waves and plots them

QCL Heikin Flow applica un livellamento in due fasi alle candele Heikin Ashi, aiutando i trader a filtrare il rumore dei prezzi e a visualizzare la direzione del trend. Offre periodi di livellamento regolabili, quattro metodi di media mobile e colori delle candele personalizzabili.

Struttura di mercato secondo Smart Money Concepts sugli swing di ritracciamento: trend, BoS, CHoCH, IDM e sweep di liquidità. Un livello si considera raggiunto solo alla chiusura; una ciglia che lo attraversa viene contrassegnata come sweep (x) e riposiziona lo swing. Si considerano solo le barre chiuse e autonome.

Previous day high and low, previous week high and low and today's open as horizontal lines with small price labels, on any timeframe.

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.

123456789101112131415...221