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 - 7

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

Three timeframes. One iMA (Moving Average, MA) and one iStochastic (Stochastic Oscillator) on each timeframe

An EA based on indicators iMA (Moving Average, MA) and iStdDev (Standard Deviation, StdDev)

A trading system based on several indicators from several timeframes.

An Expert Advisor based on two indicators: iFractals (Fractals) and iAlligator (Alligator).

A panel to close positions based on class CDialog. Buttons based on class СButton.

An Expert Advisor for placing Stop Loss and Take Profit.

Working with pending Stop orders

Two identical trading systems (for long and short deals) based on the ColorPEMA 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

A trading system based on the signals of indicator ColorPEMA_Digit with the possibility to set a fixed position holding time

A trading system based on two indicators iMA (Moving Average) and one indicator iStdDev (Standard Deviation, StdDev)

Three indicators from different timeframes: iMACD (Moving Average Convergence/Divergence, MACD), iAlligator (Alligator), and iRSI (Relative Strength Index, RSI)

A trading system based on breaking through iFractals

A trading system based on two custom indicators: CCI Color Levels and RSI Custom Smoothing.

The EA focuses on the OHLC of timeframe W1

A trading system based on indicators Custom Moving Average Levels and Stochastic Custom

A trading system based on three indicators iMA (Moving Average, MA) and two indicators iRSI (Relative Strength Index, RSI)

Two identical trading systems (for long and short deals) based on the AdaptiveRenko 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

It calculates the Typical prices for bars #1, #2, and #3

An Expert Advisor for two currency pairs

Working with pending Buy stop and Sell stop orders. Martingale.

This is a working singleton code example. The sole purpose of this post is to provide a working code sample of a singleton object. A singleton object is created when there 'can be only one' of the object. This is accomplished by making an object's constructor private, and ensuring assignment and copy operations are also private. I was working on an EA and identified that an object should never have more than one copy. I don't expect the EA to ever get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the object's type. The code follows closely the tutorial at http://www.yolinux.com/TUTORIALS/C++Singleton.html.

The Expert Advisor uses Buy Stop and Sell Stop pending orders. Martingale.

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.

The Expert Advisor uses Buy Stop and Sell Stop pending orders.

The trading system based on SpearmanRankCorrelation_Histogram indicator signals

A trading system based on the SR-RateIndicator indicator signals

The Expert Advisor operates using pending Buy limit and Sell limit orders. It uses High and Low of the D1 timeframe (bars #1 and #2)

A trading system based on the Puria method.

An Expert Advisor based on two iMA (Moving Average, MA) and iRSI (Relative Strength Index, RSI)

The Expert Advisor based on the BullsBearsEyesindicator custom indicator

The Expert Advisor waits for a gap at the bar opening.

The Gold Dust

An Expert Advisor based on the iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD) indicators

Two identical trading systems (for long and short deals) based on the ColorMETRO 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.

The strategy is based on two indicators calculated on two timeframes: iAO (Awesome Oscillator, AO) on the D1 TF and iStochastic (Stochastic Oscillator, Stoh) on H1.

The Expert Advisor is based on the RSI Custom Smoothing indicator.

Two identical trading systems (for long and short deals) based on the VortexIndicator 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

Trading is based on the analysis of yesterday's OHLC with the current day value.

RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator.

Two identical trading systems (for long and short positions) based on the signals of the Slow-Stoch indicator, which can be configured in different ways within one Expert Advisor

1234567891011121314...36