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

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

Invia il tuo codice

An Expert Advisor for closing all positions, in case of the total profits on those positions exceeded the Take Profit level fixed in inputs or the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

OHLC VolumeH volume difference indicator

Three independent trading systems using ColorX2MA_Digit indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

МА as an oscillator

Trend Trail indicator

WPR HL indicator

KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.

The trading system based on CandleStop_System indicator signals with the possibility to set a fixed position holding time.

Trend Trigger Factor indicator with T3 smoothing (to lessen false signals) and some extras in order to make the trend triggering state easier.

This indicator is actually a combination of two values: it shows the crosses of fast and slow Zero Lag TEMA, and that cross determines the current market trend.

The Center of Gravity Channel indicator

CCI_Histogram_Vol indicator with additional averaging of the resulting histogram

Average from MA indicator

Expert Advisor based on iRSI (RSI) and iMA (Moving Average, MA).

Position volume calculation based on trading history. The Expert Advisor applies iCCI (Commodity Channel Index) and iMA (Moving Average) indicators. Trailing is present as well.

Stochastic volatility - on chart

Indicator Fractal Channel

SAR Oscillator 2 indicator

The Fib_SR indicator with two additional support and resistance zones.

Two identical trading systems (for long and short deals) based on the ColorMaRsi-Trigger indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

Indicator of Murrey levels in indicator buffers with the added visual text information on those levels, calculating the levels on a timeframe specified in the inputs

A price channel based on a bar of user-defined duration (timeframe).

BB stops - Hull average based with multiple stops included

TRIX (using fast EMA for calculation)

Compute the daylight saving time changes (start/end of the summer time).

Converts trendlines into horizontal lines.

DCC / Piercing

Multisimbolo OnTick.

Questo blocco di codice esegue un loop di tutte le posizioni aperte ed esegue il trailing in base ai prezzi Ask e Bid.

QuickTradeKeys 123 è un Expert Advisor (EA) di facile utilizzo per MetaTrader 5, che consente ai trader di eseguire rapidamente operazioni di acquisto e vendita premendo semplicemente i numeri '1' e '2' sulla tastiera. Premendo il tasto "3" si chiudono tutte le posizioni aperte. Questo EA è ideale per il trading rapido e per i test che richiedono un intervento manuale senza l'uso del mouse.

MovingAverages.mqh Parte I È disponibile una versione multi timeframe con colori per l'orientamento, per gli sviluppatori o per i trader profittevoli, gratuitamente. Sono disponibili anche altri indicatori multi timeframe.

Un esempio di codice pino convertito in MQL

L'indicatore Candle Wicks Length Display MetaTrader è un indicatore in grado di visualizzare la lunghezza degli stoppini delle candele in pip direttamente sul grafico. È possibile impostare la lunghezza minima da visualizzare. In alternativa, può mostrare le lunghezze degli stoppini inferiori al limite indicato. L'indicatore supporta tutti i tipi di allarmi e funziona sia con MT4 che con MT5.

Uno script che, trascinato sul grafico, stampa nella finestra degli esperti il numero di barre presenti sul grafico, come per magia.

Questo indicatore legge la cronologia degli scambi e traccia il P&L cumulativo nel tempo, aiutando i trader visivi a vedere quanto denaro stanno guadagnando o perdendo nel tempo. Questa versione attuale ha una differenza di errore marginale dello 0,02%, dovuta all'arrotondamento dei galleggianti e ai metodi di calcolo. Con questo errore marginale può essere considerato estremamente preciso.

Il Daily VWAP (Volume Weighted Average Price) è un indicatore semplice ma potente che calcola e visualizza il prezzo medio ponderato per il volume di ogni giorno di trading. Ideale per identificare il fair value intraday e per supportare le vostre decisioni di trading giornaliere.

Si tratta di un semplice indicatore di canali di prezzo che consente all'utente di personalizzare il periodo e i colori delle linee. Spesso utilizzato nelle strategie di rottura dei canali.

A robust Market Structure analyzer that adapts to volatility. ASZ uses a Hybrid ATR engine to filter noise and detect reliable Swing points. Non-repainting on confirmed bars.

Scanner RSI multi-timeframe pronto per la produzione con sistema intelligente di ripetizione degli allarmi. Monitora fino a 7 timeframe simultaneamente, evidenzia le zone di convergenza quando più di 3 TF si allineano e ora riproduce automaticamente le notifiche fallite per non perdere mai i setup critici di ipercomprato/ipervenduto.

1...424344454647484950515253545556...200