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

Codici sorgente MQL5 di Expert Advisors per MetaTrader 5 - 16

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

The Expert Advisor is based on Puria method with a few changes. It uses two iMA (Moving Average, MA) indicators and one iMACD (Moving Average Convergence/Divergence, MACD).

The Expert Advisor trades based on the signals of iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). The minimum distance between the price and the MA indicator is taken into account.

An Expert Advisor based on the iIchimoku (Ichimoku Kinko Hyo) indicator. Fixed lot.

The Expert Advisor uses the signals of "crossover of two iMAs (Moving Average, MA)". The EA uses Trailing Stop and Take Profit.

An example of creating synthetic instruments for calculating the strength of RTS, USD, RUB based on futures contracts of the FORTS market.

MetaTrader 5 allows creating synthetic instruments. The price of such instruments can depend on the current values of a number of financial instruments. In trading, such symbols allow spotting the beginning and end of global market movements at an early stage. In this example we create synthetic instruments to analyze the strength of Forex currencies EUR, USD, GBP, JPY and CHF.

x1

Simultaneous opening of opposing positions. Lot management

The EA uses three iMAs (Moving Average, MA), one iStochastic (Stochastic Oscillator) and one iRSI (RSI, Relative Strength Index). Positions are opened by market, as well as Buy Stop and Sell Stop pending orders are placed.

Information about profit, points, percent, spread and time remaining until the close the bar on the current currency pair and timeframe in a compact and convenient form.

The EA trades using signals of the iMACD (Moving Average Convergence/Divergence, MACD) indicator. Lot is increased when the number of position grows (Martingale)

An Expert Advisor based on indicators "MA Cross 3MACross Alert WarnSig" (https://www.mql5.com/en/code/19519) and "Price Channel" (https://www.mql5.com/en/code/44)

A trading strategy using the Martingale system.

The Expert Advisor uses signals of the iMA (Moving Average, MA) indicator with a delay from the bar opening time.

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones.

Two identical trading systems based on the crossover of the CMO indicator and the zero line, for long and short trades, which can be configured in different ways in one Expert Advisor.

A trading system based on the signals of the Daniella semaphore signal indicator.

Trading against the trend direction as of N hours ago.

A daily bar breakout strategy.

An Expert Advisor based on "KDJ Indicator"

The Expert Advisor trades based on iMA and iRSI signals. Values of iMA on four bars are compared. Indices of these bars can be optimized.

A trading strategy "three bars down, Stochastic up".

A trading system based on the Martingale technique.

A trading system based on the Vortex Oscillator signals.

The Expert Advisor is based on the signals of indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

Martingale and anti-martingale.

Maximum lot calculated based on free margin.

The Expert Advisor is based on the signals of the Stopreversal indicator and is provided with the possibility to set a strict trading time interval.

The Expert Advisor is based on the iRSI (Relative Strength Index, RSI) indicator signals.

The Expert Advisor is based on the iOsMA (Moving Average of Oscillator, OsMA) indicator signals.

An Expert Advisor for two currency pairs

The Expert Advisor tracks positions of all symbols with all magic numbers. If a position has been open for "Waiting for seconds" and its profit has reached "Take Profit" points, the EA closes the position. If the profit has not reached "Take Profit" points, the EA moves the take profit level.

The Expert Advisor is based on Bill Williams' strategy.

Closing positions: all, only profitable or only losing positions.

Two identical trading systems based on the change in the ColorJFatl_Digit moving direction for long and short trades, which can be configured in different ways in one Expert Advisor.

A trading system based on the NRTR_ATR_STOP indicator signals with the possibility to set a strict trading time interval.

Works with pending Buy Stop and Sell Stop orders. The EA uses the iMA (Moving Average, MA) indicator with a VERY large period equal to 590.

A strategy based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD).

An example of a template for developing automated trading systems.

The expert advisor moves stop loss of position at user-defined breakeven.

Simple Expert Advisor based on the Larry Conners RSI 2 strategy.

1...91011121314151617181920212223...36