Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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

Bibliothèque de code source MQL5 pour MetaTrader 5 - 15

icon

Il s'agit de la plus grande bibliothèque de code source gratuite pour les programmes de la plateforme MetaTrader 5. Vous y trouverez des Expert Advisors, des indicateurs techniques, des scripts et des bibliothèques prêts à l'emploi. Utilisez la bibliothèque de codes lors de l'apprentissage du langage MQL5 et développez vos propres applications de trading automatisé basées sur les codes fournis.

Vous pouvez librement télécharger et tester les codes publiés, ainsi que les lancer dans MetaTrader 5. La bibliothèque est également disponible directement depuis la plateforme MetaTrader 5 et l'environnement de développement MetaEditor.

Soumettre votre code

This script saves all the OHLCV data available on the chart to a CSV file.

A customized bid and ask line which is labelled and clear to help visualize the bid and ask prices

The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.

The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.

higher confidence to get into trade

A demonstration on how to modify objects in an indicator without having the source code

Raymond Cloudy Day For EA, a revolutionary trading tool created by Raymond and expertly developed for the MT5 platform. This innovative indicator integrates a cutting-edge calculation method with advanced algorithms, surpassing traditional Pivot Points to enhance trading strategies with unparalleled precision.

main point is changing of MA curve to horizontal line and DPO curve shall represent to distance from close price to zero level or MA curve

This Indicator creates automatically a Risk/Reward Box on you all opened chart base on High, Low price with the old candles. You can use it easily to drag and change size and price to your desire wanted.

Indicator displays the value of defined stop loss and or take profit in the deposit currency. Note: It calculates an estimated value based on a simple calculation and does not take into account brokerage commissions.

This indicator is designed to draw a Fibonacci retracement, using as a basis the ZigZag indicator.

Beginner tutorial on CCI to learn to code in MQL5

Linear Regression Value indicator with an option that allows it to be applied to another indicator

Bollinger Bands with controllable outer band smoothing (post smoothing)

Bollinger Bands with controllable outer band smoothing (pre smoothing)

This code does not trace the iatr() because the iatr() or this code is a more modern version. This code uses original smoothing, a kind of SMA and not wilder smoothing. The analysis of the two smoothings can suggest opportunities elsewhere

The goal is to show a code that shows the calculation of the ATR with Wilder smoothing

Linear regression line with an option to be applied to another indicators

Linear Regression Line

Linear Regression Slope

Linear Regression Value indicator

RSI adaptive indicator based on tick calculations

MovingAverages.mqh Part II A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.

Root Mean Square

This EA is a demonstration of how you can implement your own Hedging strategy with the help of the include file.

Capture widescreen screenshots by pressing the 's' hotkey on the keyboard

MovingAverages.mqh Part I A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.

Moving averages are useless. In fact, some argue that the best way to lose money for a beginner are MA-Price crossover strategies. But is it possible to make it work?

It will delete all objects on the chart when the compiled executable is dragged onto the chart

Script For Trap News High Impact

This is an update of the "Simple Yet Effective Breakout Strategy". In this code, I have added some helper functions for prop firm challenges.

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts.

Sample code to count consecutive no. of bull or bear bars.

This EA will scan all the closed trades and then print the nth trade from the end

This EA will scan all the open trades and then print the nth trade from the end

MQL5 version of geometric moving average.

Standard Bollinger Bands indicator with averaging features added

A simple indicator which may help you in manual backtest by just moving a vertical line to show hide bars.

Relative Strength Index that completely removes noise, works on all markets!

Select the last closed deal (trade) to further work.

1...8910111213141516171819202122...191