Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
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

Codici sorgente MQL5 di Expert Advisors per MetaTrader 5

icon

Gli Expert Advisors analizzano i grafici dei prezzi e fanno trading automatizzato, seguendo le regole di riferimento. Qui troverai i codici sorgente MQL5 i quali porranno aiutarti a risolvere un gran numero di problemi. Potrai selezionare sia dei semplici Expert Advisor basati sull'incrocio di medie mobili, sia Expert Advisor più complessi che comprendono algoritmi di generazione di segnali e protezione contro gli errori di trading.

È possibile scaricare e lanciare gli Expert Advisors disponibili in MetaTrader 5. Ti raccomandiamo di testare e ottimizzare i robot di trading nello Strategy Tester prima di usarli. La libreria di Expert Advisor è anche disponibile direttamente dalla piattaforma MetaTrader 5 e dall'ambiente di sviluppo MetaEditor.

Invia il tuo codice
più recenti | migliori

EA per il recupero del basket XAUUSD su timeframe M15 con spaziatura ATR adattiva, verifica della struttura LL/LH, gating dinamico dell’RSI, rilevamento dei crolli, filtro delle notizie e ottimizzazione intelligente delle operazioni.

Dynamic Exponential Moving Average crossover Expert Advisor featuring volatility-based ATR Stop Loss/Take Profit and automatic account risk percentage position sizing.

Trend-following Expert Advisor for MetaTrader 5 combining Supertrend direction with ADX and DI confirmation. Uses an ATR-based stop loss and risks up to 0.5% of equity per trade.

Account level risk guard for prop firm accounts. One copy on any chart watches every position on the account, closes everything when the daily loss or maximum loss limit is hit, caps lot size and can flatten around high impact news. Logs every action to the Experts tab and a CSV.

Draggable on-chart manual trading panel with multi-timeframe bias, ATR SL/TP hints, a trailing stop and one-click BUY/SELL/CLOSE ALL.

A Turtle-style breakout EA for gold. It buys when an H4 bar closes above the 20-bar high in an uptrend, with a 2 ATR stop and a 2R target. Backtested on XAUUSD from January 2020 to September 2026: +9,029.72 on 10,000 at 1% risk, profit factor 1.77, max drawdown 11.38%, 6 of 7 years profitable.

Un pannello GUI interattivo per MetaTrader 5 progettato per i trader manuali e gli sviluppatori quant. Automatizza il dimensionamento dinamico delle posizioni in base alla percentuale esatta di rischio sul capitale del conto, offre l’esecuzione degli ordini con un solo clic (Acquisto/Vendita), il BreakEven istantaneo, la funzionalità “Chiudi tutto” e la gestione continua in tempo reale del Trailing Stop.

Posts your MT5 opens and closes to a Telegram chat: side, symbol, entry, stop and target in pips, lots, and on close the result, pips, R-multiple and time held. Retry queue, restart-safe, never trades. Free version of Trade Reporter Telegram and Discord.

A small demo Expert Advisor: EMA fast/slow cross entries (evaluated on closed bars only, no repainting), ATR-based stop-loss and take-profit, spread filter, and position handling that works on both hedging and netting accounts. Includes a Python reference implementation for parity testing. This is a deliverable example, not a trading recommendation - the attached equity curve is from synthetic data and shows the method, not an edge.

Panel that samples the spread once per second and shows it in points and in the symbol's natural unit (pips on FX, index points on index CFDs), with rolling min/avg/median/max, a session statistic since server midnight, the spread as percent of ATR, a hold-time alert and an optional CSV log. It never sends an order.

An intraday Smart Money Concepts EA for gold. It waits for price to sweep a recent swing high or low, confirms the reversal with a close through the sweep candle's body, and trades only with the H1 trend. Backtested on XAUUSD M15 over 2025 and 2026 at 1% risk per trade.

Protect Your Funded Account with Institutional-Grade Risk Monitoring. The #1 reason traders fail prop firm challenges is not a bad strategy; it is breaching daily drawdown limits. The AlphaQuant Prop Firm Daily Drawdown Dashboard is a free, high-visibility Expert Advisor

Un pannello gratuito e di sola lettura per MetaTrader 5 che converte la regola di reset giornaliero della tua società di trading (impostata in base al fuso orario utilizzato dalla società) nell'ora effettiva del server del tuo broker, mostra un conto alla rovescia in tempo reale fino al prossimo reset e ti avvisa prima che il passaggio all'ora legale sposti il limite di un'ora. Non invia ordini, non legge dati del conto, è solo a scopo di visualizzazione.

Chiude un paniere di posizioni quando la perdita fluttuante raggiunge un limite impostato come importo fisso, percentuale del saldo o percentuale del capitale proprio. L’ambito di applicazione prevede filtri per simbolo o numeri magici, obiettivo di profitto opzionale e tentativi di esecuzione sicuri e non bloccanti.

Educational MT5 hedging-account trade panel with risk sizing, spread protection, a persistent daily-loss lock, break-even and trailing stops.

TREND Follower (Daily) is a lightweight, development-oriented Expert Advisor (EA) created as a base trading architecture for research, learning, experimentation, and further development. The EA is intentionally designed around a simple concept: follow the market direction using the relationship between price and the Parabolic SAR. It is not presented as a fully optimized or finished trading system. Instead, it provides a clean and accessible foundation that developers can study, modify, test, and expand.

Account-wide MT5 risk protection EA for prop-firm and personal accounts. Monitors daily and overall drawdown, position losses, safety buffers, and automatically protects the account when configured limits are reached.

Utilizzo della strategia ORB sul CFD di AAPL

Educational MT5 EA: closed-bar EMA crossover entries, ATR-based stop loss and take profit, lot size from a fixed percent of equity via OrderCalcProfit, spread filter, magic-number isolation and server return-code checks. A clean template for building risk-controlled EAs. No profit claim.

EA professionale per la gestione del rischio delle società di trading. Offre il monitoraggio giornaliero del capitale, misure graduali di mitigazione delle posizioni in perdita e stop assoluti e rigidi tramite un dashboard grafico con funzionalità di autoriparazione.

Works out the lot from your risk percent and the stop distance, then opens the trade with the stop loss and take profit already attached. Never trades by itself.

Classifies the market with ADX, the Hurst exponent and lag-1 autocorrelation, routes each bar to a breakout module or a mean-reversion module, and keeps a separate win rate ledger for each regime with a Wilson 95% lower bound, so you can see which half of it is actually working.

L'EA Hybrid Microstructure è un Expert Advisor avanzato per lo scalping ad alta frequenza, progettato specificamente per la coppia XAUUSD (oro) sul timeframe M1. A differenza degli indicatori tradizionali che si basano su calcoli matematici OHLC in ritardo, questo EA opera sulle dinamiche della microstruttura a livello di tick, monitorando la velocità dei tick, le deviazioni del prezzo medio ponderato per il volume (VWAP) e i rifiuti di liquidità (stop hunt) eseguiti dalle istituzioni.

Monitor degli spread professionale open source per MetaTrader 5. Visualizza lo spread in tempo reale, lo spread minimo, massimo e medio, il grafico storico e gli avvisi configurabili in caso di spread elevati, il tutto tramite una moderna dashboard Quantora.

Closes losing positions early, before the full stop-loss, when a rule says the trade is not coming back: adverse move beyond N x ATR, too long in loss, EMA trend flipped, RSI against the position, or a money cap. Never touches a position in profit. Observe-only mode journals what would be closed without closing anything. Every exit is written to CSV with the rule, the age and the maximum adverse excursion, so the rules can be tuned from data.

Enforces your own risk rules on every position, whether opened by hand or by another EA: shows the lot size that matches your risk, locks the account for the day after a set loss, caps open positions, trims positions that risk more than allowed, and adds a stop-loss to any position opened without one.

Strict risk management utility for prop-firm challenges. Automatically monitors your entire account to prevent daily and max drawdown failures. It acts as a safety buffer against spread spikes and revenge trading by instantly closing all positions and pending orders before your evaluation is terminated.

Un Expert Advisor che misura il massimo e il minimo di una finestra di apertura di sessione definita, per poi effettuare operazioni in seguito alla conferma della rottura di tale intervallo, con un dimensionamento delle posizioni basato sul rischio e un limite massimo di un’operazione per sessione.

Utilità di cronologia MT5 in sola lettura che raggruppa le esecuzioni parziali in base all'identificativo della posizione e separa il risultato lordo da commissioni, swap, spese e risultato netto.

GDS Renko Bollinger 4-Mode Demo EA is a free educational Expert Advisor for MetaTrader 5. It demonstrates four different ways to combine classic fixed-size Renko bricks with Bollinger Bands inside one standalone EA. The EA builds four independent internal Renko streams from incoming BID ticks. Each mode has its own Renko brick size and its own Bollinger settings. Signals are generated only when a Renko brick is fully completed. Bollinger Bands are calculated causally from previous completed Renko closes, so the current brick is excluded until after its signal check.

A small educational Expert Advisor showing how Wilder's ADX and Directional Movement can be calculated directly from completed classic Renko bricks. The EA builds fixed-size Renko internally from BID ticks. No offline charts, custom symbols, DLLs or external indicators are required. +DI, -DI and ADX are updated only after a Renko brick has been completed.

GDS Renko Dual MA Demo EA is a small educational Expert Advisor for MetaTrader 5. It shows one simple way to combine classic fixed-size Renko bricks with two simple moving averages calculated directly from completed Renko closes.

Tick-driven scalper that only trades genuine statistical outlier price moves, sized and protected to survive real broker execution delay. Backtest results included below.

AurumNeuro Vanguard is an intelligent Expert Advisor (EA) specifically designed for XAUUSD / Gold trading, combining a hybrid Neural Risk Architecture with the Unified Market Dynamics Engine (UMDE).

This educational Expert Advisor demonstrates one simple way to trade momentum on Renko bricks in MetaTrader 5. Momentum is the difference between the latest completed Renko close and the close N bricks earlier, divided by the brick size. A crossing above the positive threshold produces a BUY signal; a crossing below the negative threshold produces a SELL signal. Staying beyond a threshold does not generate repeated signals. The EA builds classic fixed-size Renko internally from Bid ticks, with a two-brick reversal. Orders use the available market Bid/Ask rather than synthetic brick prices. If several bricks form on one tick, only a crossing on the final brick can trigger entry. There is one position at a time, with virtual take profit, virtual stop loss, a maximum holding time, a cooldown and a spread filter. No external indicator, DLL, custom symbol or offline chart is required.

PulseStrike Scalper - Statistical Burst Detection EA

Daily Zone Recovery è un sistema di trading multistrategico per MetaTrader 5 che opera sulla base dei massimi e dei minimi della giornata di trading precedente. Il sistema monitora l'andamento dei prezzi in prossimità degli estremi giornalieri, utilizza tre strategie di ingresso indipendenti ed è in grado di gestire le posizioni tramite una griglia a volume fisso.

Imposta la percentuale di rischio, trascina lo stop e ottieni l'esatta dimensione del lotto espressa nella valuta del tuo conto — margine e obiettivo inclusi. Si limita al calcolo, non effettua mai operazioni di trading.

Utilità gratuita e open source per i grafici MT5 in sola lettura che valuta le attuali condizioni di tendenza e elabora piani di rischio per posizioni lunghe e corte normalizzati in base al broker. Utilizza la direzione e la pendenza della media mobile, l’ADX, l’Efficiency Ratio, l’ATR, lo spread, la valuta del conto e le specifiche del simbolo. Non apre, modifica né chiude mai operazioni di trading.

GDS Renko Replay Trainer is a free educational tool for practising manual decisions on historical Renko charts in MetaTrader 5. Load a historical interval, replay it forward and place virtual BUY or SELL trades. You can pause, advance one tick or move to the next completed Renko brick. Each virtual position has a stop loss and take profit, and the trainer records the results of your session. The tool builds fixed-size Renko bricks from historical Bid/Ask ticks, with a classic two-brick reversal. Future ticks are not used to draw the visible chart or execute virtual trades. Buy trades use Ask for entry and Bid for exit; sell trades use the opposite sides. Orders entered on the panel wait for the next replayed valid tick. Stops and targets are checked on every tick, including price gaps.

123456789101112131415161718192021222324252627282930313233343536373839404142