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

Soumettre votre code

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.

Class to access to the local time for the specified location, as well as time zone information and the local trading session hours.

Alligator beginner tutorial to learn how to code in MQL5

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.

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

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

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.

DCC / Piercing

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.

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

QuickTradeKeys 123 is a user-friendly Expert Advisor (EA) for MetaTrader 5, enabling traders to execute buy and sell operations quickly by simply pressing the numbers '1' and '2' on their keyboard. Pressing '3' closes all open positions. This EA is ideal for swift trading and testing purposes where manual intervention is required without using the mouse.

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.

RMA Relative Moving Average is a variant of EMA

Le livre "Réseaux neuronaux pour le trading algorithmique avec MQL5" est un guide complet, couvrant à la fois les fondements théoriques de l'intelligence artificielle et des réseaux neuronaux et les aspects pratiques de leur application dans le trading financier en utilisant le langage de programmation MQL5.

Monitoring of memory leaks in the strategy tester

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.

Horizontal Grid Controller with KeyEvents

This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes

While manually adjusting the stop-loss of a single trade to match its open price is a relatively simple task, managing numerous positions individually can be cumbersome and time-intensive. The Titik Impas Breakeven script for MT4/MT5 streamlines this process, providing efficiency and convenience for traders dealing with multiple positions.

Super pass-band filter as described by John Ehlers

Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

Let follow previous EA by this link https://www.mql5.com/en/code/46630

Checks if either upper or lower Wick range of a candlestick is greater than Body range of a candlestick and plot a wingding

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

Standard Bollinger Bands indicator with averaging features added

Basic library to create Volume Profiles on chart.

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

This is a lesson on how to: 1. calculate the lot size in each order corresponding to the percentage of balance loss. 2. Trailling and count position buy and sell. The condition buy or sell base on Price action and moving average filter

Trailing stop tutorial using ATR indicator

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

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

How to use Metaquotes native smoothing functions in MovingAverages.mqh SimpleMAOnBuffer(), ExponentialMAOnBuffer(), SmoothedMAOnBuffer(), and 2 LinearWeightedMAOnBuffer()

RSI adaptive indicator based on tick calculations

Linear Regression Line

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

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.

Set TakeProfit by just dragging and dropping script on the desired price level.

123456789...184