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

Soumettre votre code

All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY. This script will close out your position using one large trade to hedge your position then using CloseBy() function to close all trades against the one large trade until all trades are closed. There can be a maximum of 500 open trades.

When we want to know how many times price will goes up and down 40 pips before breaking this channel, we will need Bounce Number tool.

Virtual SL TP Pending with SL Trailing for Symbol Chart

Center of Gravity est un oscillateur développé par John F. Ehlers et présenté dans son article du magazine Stocks & Commodities (mai 2002).

This script will plot Fibonacci golden spiral on the chart.

In classical literature, the relative strength index is described as the "price-following oscillator that ranges between 0 and 100, and signals the market sentiment to change the trend at high (close to 100%) or low (close to 0%)...

The Price Channel indicator calculates the highest high and lowest low of the trailing number of bars specified by the input Length.

Another version of popular ZigZag.

An indicator by the Natuseko Protrader 4H Strategy

It's an instrument for spread monitoring for a real and synthetic currency pairs.

A brand-new version of Channel ZZ indicator

De nombreux développeurs sont confrontés au même problème : comment accéder au bac à sable du terminal de trading sans utiliser de DLL non sécurisées. L'une des méthodes les plus simples et les plus sûres consiste à utiliser des pipes nommés standard qui fonctionnent comme des opérations de fichier normales.

Support and Resistance levels using the psar logic.

Bibliothèque de fonctions mathématiques ALGLIB (v. 3.5.0) portée sur MQL4.

This indicator adds H3, H6, H8 and H12 time frames into your charts.

Library to work with Skype.

EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden.

Trade using Renko Boxes in MetaTrader 4.

The OandaX OrderBook Chart indicator is designed for displaying the history histogram of orders or positions history on the instrument with reference to the chart scale.

This indicator paints the candlestick chart color according to the Elder Impulse System

Commodity Channel Index using exponential moving averages.

There are some scripts in the zip archive which could be very usefull in intraday trading. With them you can respond on market changes very quickly.

Indicator Hull_O_H_L_C.

The indicator shows support/resistance levels calculated using the methods by V.B. Antonov (A_Vlad).

An original indicator that shows buying/selling signals.

Indicator SSL fast sBar_mtf

Two CCI indicators with different periods in a single subwindow.

Regression Channel Indicator and Expert Advisor

The indicator of price levels fractals.

The library contain several functions to get an additional information about the symbols, loaded into the client terminal. ATTENTION: Undocummented solution, it may not work in the other versions of MetaTrader

The script deletes objects from the chart.

A day Hi Lo

Cloud indicator based on 2 Moving Averages.

Adds account information to chart: Profit, Balance, Equity, Free Margin, Margin and Margin Level %. On chart click hide/show account information. Show Profit only option.

This script will calculate the total active and closed orders based on order types

The PrevDayLines.mq4 script is a tool for MetaTrader 4 that automatically draws three critical price levels from the previous trading day on your chart. These levels include the highest price (Max), the lowest price (Min), and the average price (Avg), providing traders with a clear visual reference for key support and resistance points.

The indicator plots levels based on the previous days.

Modify pending order - script choisissant le premier dans la liste des ordres en attente, imprimant les données de l'ordre en attente sélectionné, modifiant l'ordre en attente et imprimant les données de l'ordre en attente après modification.

FiboPiv_v2 indicator.

Indicator of the normalized volume

1...67891011121314151617181920...104