Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
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 - 19

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 EA waits for a TP or SL to trigger, and then opens a position in the opposite direction. It checks if there is enough money before sending a trade request. OnTradeTransaction.

All information about the current symbol (information from the CSymbolInfo class object is used) represented as a dialog panel.

A trading strategy based on RSI and Bollinger Bands.

An Expert Advisor for 4 currency pairs, including EURUSD, GBPUSD, USDCHF and USDJPY. It is based on four-hour moving averages.

Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time.

This is a trend trading system based on the signals of two Kolier_SuperTrend indicators.

Shows an appropriate value for the last three bars on each timeframe: "1" if the bar is bullish, and "0" if the bar is bearish.

The Exp_XFatlXSatlCloud trading system is based on change of the trend direction displayed by the XFatlXSatlCloud indicator

The Expert Advisor moves trailing stops of all positions on the current symbol.

Plays a sound when position is closed.

Trading based on preset candlestick combinations (patterns) Candlesticks are marked as "1" (bullish) and "0" (bearish). TakeProfit, StopLoss

The Expert Advisor calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.

The Exp_Stochastic_Chaikins_Volatility Expert Advisor based on the Stochastic_Chaikins_Volatility indicator color change.

A semi-automated Expert Advisor which signals of breakouts of specified horizontal levels.

The EA searches for N identical candlesticks in a row. If the found candlesticks are bullish, it buys. I they are bearish, the EA sells.

The Expert Advisor trades inside a channel, reversing positions at the channel borders.

Trades based on the previous candlestick.

A list of all positions. An example of working with CPositionInfo.

The Expert Advisor is based on the indicator with the same name. Lot is calculated based on the risk value as a percentage of free margin.

The Expert Advisor closes all positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

The Expert Advisor closes all the current symbol positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

Hedge The Hedge Trader EA.

We look for N identical candles in a row. If the found candles bull - we buy, if bear - we sell.

Advisor on the signals of the indicators Bollinger Bands and Moving Average.

Strategy: N bars up and one bar down. Trailing. Lot calculation based on the risk value as a percentage of free margin.

Intraday volatility breakthrough system. The Parabolic SAR indicator is used.

A trade strategy based on the RSI indicator. Checks if there is enough money before opening a position.

A trading system using the SSL indicator.

The EA uses two Moving Averages, one MACD and one CCI. OnTradeTransaction is used to receive position opening time.

Averaging of values (RSI) using MovingAverages.mqh. Two MA indicators.

An Expert Advisor based on the "RPoint" indicator. The chart layout in X-points reversal. A high-quality ZigZag based on HiLo.

The "Nevalyashka" Expert Advisor.

The implementation of the MACD pattern "Trend continuation".

A multi-currency Expert Advisor that opens a market position at the user defined time.

The Expert Advisor trades based on the ADX Wilder and Ichimoku Kinko Hyo indicators. Lot is calculated based on risk percentage of margin.

Trailing, pending orders. Signals of two indicators (Moving Average, MA). Trades only during a certain period of the day.

Trade direction is chosen based on a random number generator. Stop Loss and Take Profit are set based on the random number generator. Lot calculation based on the risk value as a percentage of free margin. The code contains protection against the "not enough money" error.

EMA

Intersection of two Moving Averages. Take Profit and Stop Loss levels are virtual.

Trading system based on the signals of the ICHI_OSC indicator

Lot calculation based on the risk value as a percentage of free margin.

1...121314151617181920212223242526...36