Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Accédez à la CodeBase depuis votre terminal MetaTrader 5
Vous n'avez pas trouvé le bon code ? Commandez-le dans la section Freelance
Comment rédiger un Expert Advisor ou un indicateur

Codes sources MQL5 des Expert Advisors pour MetaTrader 5 - 14

icon

Les Expert Advisors analysent les graphiques de prix et effectuent des transactions automatiquement en suivant les règles sous-jacentes. Vous trouverez ici des codes sources MQL5 permettant de résoudre divers problèmes. Vous pouvez sélectionner aussi bien des Expert Advisors simples basés sur le croisement de moyennes mobiles que des Expert Advisors complexes impliquant des algorithmes compliqués de génération de signaux et une protection contre les erreurs de trading.

Vous pouvez télécharger et lancer les Expert Advisors proposés dans MetaTrader 5. Il est recommandé de tester et d'optimiser les robots de trading dans le testeur de stratégie avant de les utiliser. La bibliothèque d'Expert Advisors est également disponible directement depuis la plateforme MetaTrader 5 et l'environnement de développement MetaEditor.

Soumettre votre code

Expert Advisor "Previous Candle Breakdown."

The EA opens positions at crossing fast iMA and slow iMA (Moving Average, MA). It has the function of outstaying the losses. It catches the type of the position in OnTradeTransaction.

Two identical trading systems based on the signals of BrainTrend2_V2, for long and short trades, which can be configured in different ways within one Expert Advisor.

Trading panel based on class CDialog.

A slightly modified EA from the standard delivery: MQL5\Experts\Examples\Moving Average\Moving Average

Working with pending orders Buy Stop and Sell Stop. A channel of two indicators iMA (Moving Average, MA).

Positions are opened pseudorandomly. In case of loss (closing by Stop Loss and negative profit), Martingale is applied.

A trading system based on the signales of indicator ATR_Normalize_Histogram

A trading system based on indicators MACD and SAR. The signal receiving formula is completely optimizable.

Trading on several candlestick patterns. The levels of Take Profit, Stop Loss, and Trailing are separate for BUY and SELL.

The EA works in the quietest hours (upon closing the American session and before opening the Asian session).

A trading system based on the AbsolutelyNoLagLwma indicator signals.

Locking positions - opening Buy and Sell simultaneously.

An automated trading system with a data panel in form of the OBJ_LABEL objects.

Dynamic managing the lot size depending on the balance.

A trading system based on indicator iBands (Bollinger Bands, BB). Placing pending Buy Stop and Sell Stop within a specified time interval (from XX o'clock to YY o'clock).

A trading system based on the signals of indicator AverageChangeCandle.

A trading system based on the XRSIDeMarker_Histogram indicator signals.

A trading system based on the 2XMA_Ichimoku_Oscilator indicator signals.

TST

The Expert Advisor does not use any indicators. It only uses the current price and the OHLC of zero bar.

The trading system is based on a simple neural network.

The EA determines the overbought (OB) and oversold (OS) zones, for which it generates trading signals for selling or buying.

Trading on indicator Heiken Ashi Smoothed Oscillator. Settings for placing Stop Loss, Take Profit, and Trailing the positions.

Working with pending Buy Limit and Sell Limit orders. Trailing the positions is possible.

An Expert Advisor based on indicator SAR.

The EA uses indicator Awesome Oscillator.

A trading system based on detecting the market volatility.

A trading system based on the KWAN_RDP indicator signals.

A trading system based on the KWAN_CCC indicator signals.

Placing Buy Stop and Sell Stop on the 5-minute timeframe.

A trading system based on the KWAN_NRP indicator signals.

The Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.

An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing.

The EA compares the opening prices of the zeroth and the second bar. It moves positions to a breakeven and/or enables trailing.

The EA uses a virtual Take Profit for closing gaining positions. Opening positions with a step. Catch the type of the last position and its price in OnTradeTransaction.

A trading system based on indicator signals Parabolic Stop and Reverse system with the possibility to set a fixed position holding time.

The EA is based on Moving Average.mq5 from standard delivery. Working with OnTradeTransaction to get the price of the last closed position.

The EA based on two iMA (Moving Average, MA) indicators. Selecting the lot calculation mode: Manually or in the risk percentage per trade. Position trailing.

An Expert Advisor based on indicator iMA (Moving Average, MA) and implemented as a class.

An Expert Advisor based on three iMA (Moving Average, MA) indicators.

1...789101112131415161718192021...37