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

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

A histogram of maximum and minimum values of parameters SYMBOL_SESSION_BUY_ORDERS — "the total number of current buy orders" and SYMBOL_SESSION_SELL_ORDERS — "the total number of current sell orders". The drawing style is DRAW_HISTOGRAM.

A Moving Average indicator, for which the values of two levels can be specified from the code.

The XFatlXSatlCloud indicator with the timeframe selection option available in its input parameters.

The ColorXMUV indicator with the timeframe selection option available in its input parameters.

Average True Range (ATR) indicator values from other timeframes in a digital format, displayed as text on the chart.

The drawing of this Moving Average is based on Demark's "Daily Range Projections" method.

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

The indicator finds fractals of any dimension.

The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.

The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.

Plays a sound when position is closed.

The script deletes all orders of the type specified in settings, on the current symbol.

The script deletes all pending orders on all symbols at a time.

The script closes all pending orders on the current symbol.

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

The indicator displays the candlestick size (High-Low) and its direction in the form of a colored histogram.

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

Ten 'Parabolic Stop and Reverse system' indicators in one window

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.

A script for placing two Buy Stop Limit and Sell Stop Limit orders at an equal distance.

A script for placing a SellStop Limit order.

A script for placing a BuyStop Limit order.

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

The Stochastic_Chaikins_Volatility indicator with the timeframe selection option available in its input parameters.

The script allows to quickly remove indicators from charts.

Bollinger bands at extended Fibonacci levels.

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 script removes from the chart a comment located in the upper left corner.

The Chaikin volatility indicator modified to have a stochastiс view, and implemented in the form of a signal cloud.

The indicator displays the price pivot point.

The script removes old objects of the selected type from all charts, if the time coordinates of these objects are outside of the trigger level.

The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal.

The script removes from the current chart all objects of the user selected type

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.

Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations

A script for placing two Buy and Sell Stop orders at an equal distance.

A script for placing two Buy and Sell Limit orders at an equal distance.

1...808182838485868788899091929394...183