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.
Consenti l'uso dei cookie per accedere al sito MQL5.com.
Abilita le impostazioni necessarie nel browser, altrimenti non sarà possibile accedere.
Hai effettuato l'accesso. L'autenticazione a due fattori è stata disattivata. Configurala di nuovo e scansiona un nuovo codice QR, oppure continua con l'autenticazione a due fattori disattivata.
Attiva l'autenticazione a due fattori ContinuaTick Scalper Helper è uno strumento di trading manuale pensato per i trader che operano su intervalli di tempo molto brevi e desiderano visualizzare ogni variazione di prezzo.
Range Compression Zones Breakout draws range compression zones and marks breakouts that pass a higher-timeframe high/low filter and a volume filter. Inspired by the range compression idea in Domenico D'Errico's Accumulation/Distribution study (TASC, August 2018). Independent implementation, not a literal port of the published study.
Tick-Based Spread Distribution Profiler reads historical Bid/Ask ticks via CopyTicksRange() and plots 24h spread percentiles (P50, P90, P99) in a separate subwindow.
Execution & Slippage Forensics audits MetaTrader 5 account history (Orders vs Deals) to quantify real execution quality in points and currency.
Classifies volatility on closed bars using ATR(14), with three color-coded regimes and optional alerts.
Moves the stop loss to break-even and then trails it on trades that are already open. It never opens or closes a trade.
Dynamic Volume Profile indicator for MetaTrader 5 displaying horizontal volume distribution, Point of Control (POC), and Value Area (VAH/VAL) zones. Includes a layout switcher to anchor the histogram on either the right or left side of the lookback range.
Manager di posizioni per MT5 che chiude la posizione più redditizia insieme a quella più in perdita quando il loro risultato combinato raggiunge il valore minimo impostato. Take profit e stop loss combinati in denaro, filtro magico, pannello intuitivo. Funziona con operazioni grid, martingale e manuali. Codice sorgente aperto.
La migliore tra tante strategie è davvero superiore al benchmark? Il test SPA di Hansen, il Reality Check di White, lo StepM di Romano-Wolf e l’insieme di confidenza del modello.
Script that closes positions in one click: all, only profitable, only losing, only buys or only sells, for this symbol or all symbols, with a magic filter and optional pending order delete.
Daily loss limit and daily profit target for the whole account (prop firm style). When a limit is hit it closes positions, deletes pending orders and keeps the account flat until the next daily reset.
Risk-based lot size panel: risk (% of balance, % of equity or money) and stop loss in points give the lot. Shows money at risk, reward and margin and opens BUY / SELL with SL and TP in one click.
Multi-timeframe trend table (M5, M15, M30, H1, H4, D1): price vs fast EMA vs slow EMA, RSI for each timeframe and an overall bias.
Countdown to the next important economic news from the built-in MetaTrader 5 calendar, with a vertical line and a before/after zone for every event.
Previous day high/low/open/close, previous week high/low and today's open, drawn as a segment for each of the last N days with price labels.
Shows the time left on the current candle, the live spread and today's range next to the price or in a chart corner. Works on every timeframe.
Decides if you can add to a running winner: only when all open trades in that direction are on break-even and the newest one is in profit. The open risk is never more than one add. Hedging accounts only.
Drag a stop-loss line and read the lot size for your risk. The loss per lot comes from OrderCalcProfit, so the size is right on metals, indices and cross pairs. Shows the real risk after rounding, the margin and an R-multiple take profit. Places no orders.
A script that reads a tick CSV into a custom symbol and builds its M1 bars, so the Strategy Tester can run "Every tick based on real ticks" over a period the broker's server does not keep. It finds the columns by name and moves UTC times to server time.
A script that shows how far back your broker's server keeps real ticks for a symbol. It samples a few short windows over the last four years, asks for each one until its ticks arrive or the time is up, and prints the oldest one that has ticks.
Draws support and resistance from confirmed swing points and keeps each level live, with its price on the chart, until a close breaks it. Every break is graded on the spot: an arrow when volume surges, a diamond when the candle shows a rejection wick, a hollow circle when price slipped through without either.
Small MQL5 library that shares an EA's own runtime settings between charts of the same account, with edits from either chart, a file lock and per-field merge.
Checks the bar history of the chart for six defects that make an indicator give different values on another broker: missing bars, impossible values, filler bars, repeated bars, bars without ticks and price spikes. Every defective bar is marked in the indicator window, and a panel gives a health score for the symbol and timeframe, the largest holes, the defect counts and one line that can be pasted into a comment to compare brokers.
finds out why an indicator shows nothing on the chart. It reads the buffers of every other indicator on the chart and gives each one a verdict: not calculated, all values empty, values only in the newest bars, all values zero, no values in the visible bars, or values outside the visible scale. A panel lists the problems first, gives one line of advice and prints a report line that can be pasted into a comment.
Moves the stop loss of already open positions (manual or from any EA) to break-even and then trails it by points or ATR. Never opens or closes trades, only moves the SL in your favour.
Draws Asian, London and New York session boxes (high/low and range in points) for the last N days. Session hours are set in GMT; the broker's GMT offset is detected automatically.
Two-click Fibonacci tool: press F or the FIBO button, click the swing start and end. Points snap to the candle high/low, every level has its own colour and price label.
Bootstrap a blocchi dei risultati giornalieri: quale può essere l'entità massima del drawdown di un conto o di una strategia nei prossimi mesi, con percentili e un generatore con valori iniziali predefiniti per esecuzioni ripetibili.
Rileva il modello ICT su barre chiuse (killzone liquidity sweep, MSS con spostamento o FVG invertito, ingresso su ritracciamento con SL e TP) e segue ogni configurazione fino al risultato finale, fornendo statistiche relative allo scenario peggiore. Non effettua mai operazioni e non modifica mai i dati; buffer compatibili con gli EA.
Un indicatore che segnala il momento in cui le candele hanno superato un limite di prezzo estremo
Mette in evidenza le sessioni di Asia, Londra e New York e la sovrapposizione tra Londra e New York utilizzando l'ora locale effettiva e le regole relative all'ora legale, in modo che gli intervalli delle sessioni siano corretti su qualsiasi broker.
Script che riporta gli aspetti che un EA deve gestire in questo contesto: copertura o compensazione, autorizzazioni di trading, modalità di esecuzione, livelli di stop e di blocco, regole sui volumi, swap e posizioni già aperte sul simbolo. Salva un file di report che è possibile allegare a un ordine su Freelance.
Segna i gap di apertura giornalieri e del fine settimana su qualsiasi grafico, tiene traccia di quando ogni gap viene colmato, avvisa in caso di nuovi gap, registra una riga CSV per ogni gap e rende visibile il gap in iCustom.
Classifies each bar into trend, exhaustion, compression or noise regimes using Fractal Efficiency, ATR compression and a time-of-day adjusted volume Z-Score.
Watchdog in sola lettura per MT5: avvisi in caso di numeri magici sconosciuti, posizioni duplicate dopo la riconnessione, SL mancanti, stop out e su ciò che è accaduto mentre era disattivato. Non effettua mai operazioni.
L'indicatore individua le onde di prezzo, ne segna i massimi e i minimi con frecce a tre livelli e traccia automaticamente le linee di resistenza e di supporto in base a esse.
Draws the previous day, week or month high, low and close, the current period open and Classic, Fibonacci, Camarilla or Woodie pivots for each period, with a panel showing the nearest level above and below price.
Shows the relative strength of USD, EUR, GBP, JPY, CHF, CAD, AUD and NZD, plus an optional gold (XAU) line, built from the 28 major pairs, with a strongest-to-weakest ranking panel.
Volume-weighted average price that resets every day, week or month, with two pairs of standard-deviation bands, the previous period's final VWAP and a panel showing how far price is from VWAP in price, points and sigma units.
A script that turns candles into a MIDI file: one instrument per symbol, meter detected from the data, pitch from the move, duration from the candle body.