I migliori codici sorgente MQL4 e MQL5 in base ai giudizi degli utenti - 11

Invia il tuo codice

Session Range Breakout traccia i massimi e i minimi di un massimo di tre sessioni intraday (per impostazione predefinita: Asia, Londra e New York) ed estende ciascun livello verso destra con etichette H/L opzionali e un rettangolo che delinea l'intervallo. Gli orari, i nomi e i colori delle sessioni sono configurabili in base all'ora del server. Avvisi opzionali sotto forma di popup, suoni e notifiche push vengono attivati quando una barra chiude al di fuori dell’intervallo di una sessione. I livelli vengono fissati una volta chiusa la sessione, quindi il grafico non viene aggiornato. L’indicatore traccia solo oggetti sul grafico e non apre mai posizioni di trading.

ICT dealing range from confirmed swings: premium and discount zones, equilibrium, the OTE band (62 - 79 %, 70.5 %), standard deviation targets and the IPDA 20 / 40 / 60-day ranges. No repaint. Alerts and EA buffers.

Draws the last candles of one or two higher timeframes (auto: M15 -> H4 + D1, H1 -> D1 + W1) next to your chart at real prices, with a countdown, lines to the live candle's open, high and low, alerts and EA buffers.

Spread Monitor è un Expert Advisor MQL5 che disegna sul grafico un pannello con codice cromatico. Il pannello mostra lo spread attuale del simbolo associato in punti, insieme alla media, al minimo e al massimo su un periodo storico mobile. Conta inoltre quanti campioni memorizzati hanno superato un livello di avviso e trasforma la riga di stato in rosso quando lo spread attuale è superiore a tale livello. L’utilità non effettua ordini. I parametri di input controllano il livello di avviso, la dimensione della cronologia, l’intervallo di aggiornamento e la posizione del pannello. Gli oggetti del pannello vengono rimossi quando l’Expert Advisor viene scollegato.

Reads a Strategy Tester report saved as HTML into its deals, closed trades, net profit and balance drawdowns, for comparing, combining or exporting backtests.

A Supertrend scalping EA with 14 switchable filters and a self-measuring panel that shows the actual win rate next to the win rate needed to break even after real spread, so you can see whether a setting has an edge or only a high percentage.

Shows the broker's hidden financing markup and the carry for every symbol, as annual % of notional.

Closes all trades when your daily loss reaches your limit.

Free educational EA — a single-position trend-following EMA crossover system for XAUUSD M30, released as open source for beginners to study trade ownership guards, preflight order validation, risk-based lot sizing, and server-time session filtering. This code demonstrates how a strategy - identifies and manages only its own positions and orders through MagicNumber and comment tags, - wraps CTrade with an OrderCheck preflight that blocks invalid or margin-breaking requests, - sizes each trade from a fixed stop-loss and risk percentage, - and restricts entries to a configurable broker session window with a daily close-all — all evaluated on completed bars only, so signals never repaint.

Draws the previous day, previous week and previous month high and low, plus automatic round-number levels around the current price. Every level carries a label with how many times price touched it and how many times a bar swept it (pierced the level and closed back on the original side). Counts use closed bars only, so they do not repaint. Optional alerts (popup, push, email, sound) for sweeps and new touches. Touch tolerance is a fraction of ATR or a fixed number of points. The 6 previous-period levels and their touch counts are exposed in 12 indicator buffers for use from an Expert Advisor with iCustom(). Works on any timeframe up to H4. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.

Real-time tick spread monitor that plots Maximum and Average spread curves per bar with points/pips display and local CSV persistence.

Plans ATR-based stop loss and take profit levels for a buy and a sell from the current price and works out the lot size for the account risk you choose.

An all-in-one Smart Money Concepts (SMC) indicator that automatically identifies Swing & Internal Market Structure (BOS/CHoCH), Order Blocks, Premium/Discount zones, and Equal Highs/Lows. It features a real-time multi-timeframe bias dashboard to help traders make informed decisions.

Order block indicator for MT5 on Gold (XAUUSD), forex and indices: the last opposite candle before a move that breaks a swing becomes a zone, fresh, tested and broken states, closed bars only. Open source code.

Smart Money Concepts (SMC) Expert Advisor and on-chart analysis utility for MetaTrader 5 that detects overlapping M15 Order Blocks and Fair Value Gaps with real-time confluence scoring and daily drawdown protection.

Watches a basket of positions (whole account, one symbol and/or one magic number) and closes all of them together when the floating P/L hits your profit target, loss limit, trailing profit lock or a set time. Does not trade.

Shows the spread of every bar as a histogram with its average, flags unusually wide spreads, and lists the live spread, swap long/short, the triple-swap day and a bar countdown.

Countdown to the close of the current bar, the live spread in points and the time left until the next server midnight, when brokers roll positions over and charge swap.

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.

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.

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.

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.

Historical spread statistics by hour for many symbols at once (median, 75th percentile, mean), exported to CSV. Does not trade.

A script for MetaTrader 5 that exports the raw values of all buffers of every indicator on a chart to one CSV file, without changing any code.

Marks every weekend gap on the chart, measures it in price and in ADR, shows whether and how fast it was filled, and keeps fill statistics for recent weeks. Display only, it does not trade.

RMA Relative Moving Average is a variant of EMA

Si tratta di un indicatore che combina gli swing alto/basso e il ritracciamento di Fibonacci per identificare potenziali zone di acquisto.

questo è un modello di fotocopiatrice

Controllore della griglia orizzontale con KeyEvents

Questo Expert Advisor monitora l'oscillatore stocastico per chiudere automaticamente le posizioni in base alle condizioni selezionate dall'utente: incroci al di sopra del livello di ipercomprato o al di sotto di quello di ipervenduto, ingresso nelle zone di ipercomprato/ipervenduto o uscita da tali zone. Le posizioni da chiudere vengono filtrate in base allo stato di profitto (perdita, profitto o entrambi). Una modalità di test opzionale attiva segnali di ingresso di base quando la linea %D attraversa livelli di offset configurabili intorno alla linea mediana (50).

Set TakeProfit by just dragging and dropping script on the desired price level.

Keltner Channel for traders or young developers by William210

Struttura dei parametri di ingresso

Questo EA è una dimostrazione di come sia possibile implementare la propria strategia di Hedging con l'aiuto del file include.

Il punto principale è il cambiamento della curva MA in linea orizzontale e la curva DPO rappresenta la distanza tra il prezzo di chiusura e il livello zero o la curva MA.

Indicatore crociato personalizzato sincronizzato che mostra il prezzo e l'ora (server/locale).

Funzioni relative al tempo per il rilevamento empirico del fuso orario del server e della modalità di risparmio di luce diurna (DST) dallo storico delle quotazioni

Questo codice fornisce una semplice funzione per l'invio di notifiche push al vostro dispositivo mobile ogni volta che vengono aperte o chiuse operazioni in MetaTrader 5. È progettato per i conti di compensazione (dove è consentita una sola posizione per simbolo).

Prototipo per la raccolta dei dati. Buffer fittizi per la finestra dati (ai fini della raccolta dati) per l'ora del giorno e un buffer aggiuntivo per l'ora del giorno. Commenti sull'ora del giorno.

Indicatore Trade Assistant MetaTrader - un indicatore multi-timeframe basato su tre indicatori standard: Oscillatore stocastico, RSI (Relative Strength Index) e CCI (Commodity Channel Index). Visualizza le direzioni di tendenza attuali per i timeframe M1, M5, M15, M30, H1, H4, D1, W1 e MN1. Quando si segue un indicatore di questo tipo si ha un quadro chiaro delle tendenze in tutti i timeframe più importanti. Non importa a quale timeframe si collega l'indicatore. L'indicatore può essere scaricato per MT4 e MT5.

1...456789101112131415161718...219