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

Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 3

Soumettre votre code

This is the exact conversion from pine script source code Supertrend by KivancOzbilgic

Cet Expert Advisor (EA) met en œuvre une stratégie d'arbitrage triangulaire entre trois paires de devises : EURUSD, USDJPY et EURJPY.

Alligator beginner tutorial to learn how to code in MQL5

This is an indicator with a rainbow-like display, both for trend or pullback prediction.

MQL5 version of harmonic moving average

Un oscillateur de volume est un indicateur d'analyse technique utile qui prédit la force ou la faiblesse des tendances de prix.

Volatility Stop - indicateur des niveaux de stop par volatilité

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

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.

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

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

Symbol Swap Panel: Effortlessly switch the active symbol on your chart while simultaneously adding the new symbol to Market Watch. This tool ensures seamless integration and access to real-time market data, optimizing your trading workflow.

PrintXYZ() library to print massive information from the terminal.

L'indicateur "False Breakouts.mq5" est un outil pour MetaTrader 5 qui identifie et marque visuellement les points d'achat et de vente basés sur les fausses ruptures de support et de résistance. Il utilise des tampons pour afficher des flèches d'achat (bleu) et de vente (rouge), ainsi que des lignes de support (bleu) et de résistance (rouge), et des flèches supplémentaires pour les sommets et les creux du marché. La logique principale de l'indicateur consiste à détecter les sommets et les creux en se basant sur les prix haut et bas des bougies, en mettant à jour dynamiquement les niveaux de support et de résistance. Lorsque le prix franchit le support ou la résistance puis revient, l'indicateur génère des signaux d'achat ou de vente respectivement. Il s'agit d'un outil utile pour les traders qui utilisent des stratégies basées sur les fausses cassures.

Logger avec la possibilité d'enregistrer des modules individuels ou des sections de code

Conseiller expert simple avec fonction d'optimisation du R-carré personnalisée

Niveau VWAP dynamique pouvant être moyenné sur plusieurs jours

Dans la partie 6 de la "Programmation MQL5 pour les traders", nous étudierons un élément clé du langage MQL5 : l'automatisation du trading. Nous commencerons par une description des entités fondamentales, telles que les spécifications des instruments financiers et les paramètres du compte de trading. Il s'agit de conditions préalables à la création d’Expert Advisors fonctionnant correctement.

Monitoring of memory leaks in the strategy tester

The default CCI in MT5 doesn't have the shift parameter. This script implements the shift.

Horizontal Grid Controller with KeyEvents

Indicateur Chande Kroll Stop - niveaux d'arrêt pour les positions courtes et longues.

Perfect Seconds chart indicator allows you to convert minute candles of live data into seconds. 1. Choose any number of seconds to close a bar with accurate time. 2. This is Live OHLC rates based data, It works even if ticks are not available. 3. No external DLL required, it works smoothly on VPS 4. Fast and optimized code 5. Supports Crypto Pairs such as BInance, Kucoin and all other exchanges where Futures live chart can be converted into seconds easily. 6. Support all type of symbols such as Gold and Forex pairs. 7. Options to delete symbol and rates.

This function allows you to retrieve and return the filling policy of a symbol in MetaTrader 5. This is useful for making trading decisions based on the filling policy of a specific financial instrument.

This is an edit of the Mod_ATR_Trailing_Stop by MQL5 user @Scriptor found here https://www.mql5.com/en/code/20423 . MT5 indicator .mql5 and .ex5 files, report any bugs, I'll fix.

Multi_BreakEven is a script file that enables setting multiple entry positions to breakeven, either through pips or a target price, once the trade becomes favorable.

Cet Expert Advisor ne fait pas de transactions. Un simple panneau, implémenté à l'aide de la bibliothèque standard Canvas, vous permet de dessiner des chiffres à l'aide de la souris. Le modèle mnist.onnx formé est utilisé pour reconnaître les chiffres.

This is a simple program to compare asynchronous and synchronous all close. It is a sample program, so feel free to modify it for your own testing purposes, such as adding conditions.

The MT5 custom indicator, named "wd.Multi_LineMA.mq5," is designed to offer traders valuable insights into Moving Average values from a higher timeframe (MTF Multi TimeFrame). It encompasses additional visual features for in-depth analysis, such as the ability to view trails for a specified number of bars and a dynamic MA horizontal price line.

L'indicateur dessine une deuxième période arbitraire sur le graphique.

Here are some examples of codes for set counters based on "Count"

L'indicateur d'oscillateur Know Sure Thing (KST) basé sur le taux de variation des prix (ROC)

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

Oscillateur ergodique Indice de momentum stochastique (SMI)

Standard Bollinger Bands indicator with averaging features added

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

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.

higher confidence to get into trade

The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.

The simplest class for logging in MetaTrader 5 with support for levels, message format, include and exclude filters on substrings.

12345678910...190