Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
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 MQL4 e MQL5

icon

Vuoi imparare il linguaggio di programmazione MQL5 o MQL4, ma non sai da dove cominciare? Qui sono disponibili vari programmi per il tuo terminale MetaTrader. Scarica e studia questi esempi di codici pubblicati e sviluppa per conto tuo degli indicatori e degli Expert Advisor. Le tue applicazioni pubblicate nella più grande libreria di codici MQL5 e MQL4 saranno disponibili in ogni terminale MetaTrader e nel MetaEditor.

I tuoi esempi di codice in MQL4 e MQL5 saranno distribuiti in tutto il mondo, permettendoti di entrare in contatto con migliaia di trader!

Invia il tuo codice

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

Se si ha accesso al codice dell'Expert Advisor, è possibile salvare i grafici del bilancio e del capitale e calcolare ulteriori criteri di ottimizzazione aggiungendo codice supplementare da questa libreria.

Draws the previous day High, Low, and Close as horizontal reference lines on the chart for a configurable number of past days. Yesterday's levels extend into today as live support and resistance, with optional touch alerts.

Trade using MA. An easy indicator to identify the trend direction on a specific timeframe.

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

Questo script serve come esempio pratico di come gli sviluppatori possono lavorare programmaticamente con i file utilizzando MQL5. Uno degli obiettivi principali è quello di dimostrare un'efficace organizzazione dei file di progetto, essenziale per gli sviluppatori che lavorano su sistemi di grandi dimensioni o che mirano a creare progetti portatili e autonomi. Il concetto può essere ulteriormente ampliato e perfezionato con ulteriori idee per supportare flussi di lavoro di sviluppo più avanzati.

Strategia di trading basata sulla semplice rottura dei precedenti livelli di massimo o minimo

Modern Time Panel for MT5 The Modern Time Panel is a sleek, minimalist custom indicator for MetaTrader 5 that helps you track time with precision. Fixed neatly at the top-right corner of your chart, it displays the current Broker Time, Local Time, and a live countdown to the next candlestick (New Bar). Built with an independent 1-second timer, the countdown continuously runs even when the market is slow or there are no incoming ticks. Fully customizable and dark-mode friendly, it is the perfect non-intrusive tool to ensure you never miss a candle close.

Rilevatore di tendenze Martingala uso onnx AI

Funzione di modifica delle posizioni aperte e degli ordini pendenti

Calcolo del profitto/perdita delle posizioni (ordini aperti)

monitoring varous trends of timeframes in one timeframes

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.

The FMO indicator is a technical analysis tool that measures "trend age" using fractal cycles. Its purpose is to help traders determine whether a trend is still young (safe to follow) or over-aged (high risk). A Conceptual Synthesis of Psychology, Sociology, and Life Cycles This work presents a deep analysis of human life through a numerical matrix (3, 7, 39, 49), using it as a conceptual lens for understanding psychology, sociology, and developmental cycles. It is not a conventional scientific framework. Rather, it is a synthesized model — integrating esoteric, psychological, and sociological perspectives into a unified cyclical structure. The goal is to organize and interpret human development through layered, interacting cycles.

Funzione di chiusura delle posizioni e di cancellazione degli ordini

adozione del metodo di Larry William con l'AI Time-Series XGBoost

Draws colored range boxes for the Asian, London, and New York sessions on any chart. Includes a stats panel showing average session ranges in pips and optional breakout alerts when price exits a session box.

Overbought and oversold indicators aim to determine where the price may experience a reversal.

Funzione di calcolo del lotto in base alla percentuale di rischio

Find Perfect Timeframe to trade

Passare il mouse su qualsiasi candela per vedere ciò che MT5 non mostra: Dimensione dell'intervallo, percentuale del corpo, rapporto degli stoppini. Intelligente, veloce e personalizzabile.

WPR indicator in chart window with TPSL

ZigZag BOS CHoCH Detection indicator is based on the original MetaQuotes ZigZag algorithm and extends it by detecting and marking market structure events. It tracks recent ZigZag swing points and automatically identifies Break of Structure (BOS) and Change of Character (CHoCH) using pivot trend confirmation. BOS and CHoCH levels are drawn directly on the chart with labeled horizontal lines for clearer price action analysis.

This indicator combine WPR and total profit/loss. I don't know how to tell you more about this indicator but you can try it.

Production-ready multi-timeframe RSI scanner with intelligent alert retry system. Monitors up to 7 timeframes simultaneously, highlights convergence zones when 3+ TFs align, and now auto-retries failed notifications to ensure you never miss critical overbought/oversold setups.

Indicator Description – Candle Close Timer Name: Candle Close Timer Version: 1.0 Author: BENTRADE TRADING Link: https://www.mql5.com/en/users/dahmi_benali

Download all OHLC data history available and save it in a file, either for just one symbol or for many in Market Watch

Adaptive Support & Resistance indicator that automatically detects, tracks, and updates the nearest valid S/R levels using configurable confirmation bars. Levels dynamically shift after confirmed breakouts and extend forward in real time.

Price Action Day Trader is a robust, trend-following MQL5 Expert Advisor designed for intraday trading. It focuses on high-probability price action patterns Pin Bars, Engulfing Candles, and Inside Bar Breakouts while filtering trades through a dual Moving Average trend filter.

This is a service to show entry/exit points of existing positions/deals as trend lines and/or arrows on charts.

Funziona utilizzando un blocco positivo; il robot di trading crea un blocco positivo e il trader decide autonomamente cosa farne.

Market Structure Expert Advisor use LightGBM (Light Gradient Boosting Machine)

Automated trend-following EA using EMA, RSI, and Stochastic signals to open trades on the last closed candle with Stop Loss and Take Profit.

A professional on-chart panel for instant lot size and risk calculation. Essential for manual traders using strict risk management.

An advanced, institutional-grade trend-following engine using Z-Score adaptive volatility, smart money volume filters, and a real-time MTF dashboard.

La versione classica della strategia di trading Heads or Tails con l'analisi del codice del blocco del segnale.

RiskSizer Panel Lite is a simple MT5 trading panel that calculates an estimated lot size based on your risk percent. Drag two chart lines to set SL/TP, then use one-click BUY/SELL for fast manual execution.

Log

Multi-Mode Logarithmic Transform Indicator.

Martello e martello rovesciato personalizzati

L'indicatore calcola il rischio in percentuale e fornisce la dimensione del lotto accettabile per il rischio. È sufficiente specificare il rischio in percentuale e la dimensione dello stop in pips.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195