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

Codes sources MQL4 des scripts pour MetaTrader 4 - 2

icon

Les scripts sont de petites applications qui effectuent des actions ponctuelles. Vous pouvez, par exemple, supprimer tous les objets d'un graphique ou placer un ensemble de commandes pour une position ouverte. Vous trouverez ici des centaines d'applications permettant d'automatiser de petites fonctions analytiques ou de trading.

Les scripts peuvent être téléchargés gratuitement et exécutés dans MetaTrader 4.

Soumettre votre code
dernier | meilleur

Utilisez ce script pour créer vos propres périodes non standard.

Il est conçu pour créer une période de symbole non standard basée sur l'utilisation de la période standard.

Le script envoie SELL STOP à l'ordre en attente avec les données d'expiration et le numéro d'impression du ticket.

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.

Modify - script choisissant en premier dans la liste des ordres d'achat ou de vente, imprimant les données de l'ordre sélectionné, modifiant l'ordre et imprimant les données de l'ordre après modification.

Delete pending order - script imprimant le premier élément sélectionné de la liste des ordres en attente et supprime l'ordre en attente.

Close - script fermant le premier ordre au marché s'il est le premier dans la liste.

Trade - script envoyant la commande ACHETER et imprimant les données de l'ordre sélectionné dans le journal.

Exemple de travail avec des objets : création d'un objet, modification des propriétés, redessin du graphique.

Un exemple de script qui écrit les valeurs de l'indicateur RSI dans un fichier CSV.

Il mesure toutes les sections qui rejoignent les pauses ZigZag, les valeurs résultantes sont données en points.

Les drawdowns sont également calculés.

Exemple d'opérations de lecture et d'écriture de fichier

Exemple simple de travail avec un objet : création d'un objet, modification des propriétés, redessiner le graphique.

This is an EA based on Bollinger band crossover with prices.

Simple stoploss script

it saves the current chart to default template , it just helps to do it faster than a manual save. you can assign a hotkey for it. it has no confirmation and immediately saves the template, if you want it to save to a template other than default just edit the code and replace "default.tpl" to any other name you want.

This code helps beginners in MQL4, specially those migrating from C++ to perform some basic fie operation.

The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs.

This Is Just A Normal Trailing Step Function.

This Is a Normal Trailing Function For All Open Order In MT4.

A script that displays MarketInfo and SymbolInfo data through a button list built from MarketWatch.

Script to download EVZ data for Euro FX Vix indicator

Building good trading habits by seeing things in terms of percentage not in terms of money.

Custom Function To Get Comma Separated Things From String.

This Custom Function Will Help To Get Round Time For Any Given Timeframe And Time.

Building good trading habits by seeing things in terms of percentage not in terms of money.

This one may not be the fastest, but it will definitely close all your positions.

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

The breakout strength meter is a trading tool that is used to identify which currencies are the strongest to breakout, and which currencies are the weakest to breakout

In MetaTrader 4, we intend to calculate the intersection coordinates of two straight line objects with different slopes using MQL4.

With this script, you can send a message from MetaTrader 4 to Telegram.

Script that opens 2 orders - one set to close percent of position when profit equals stoploss, another set to close at TP

This script was developed in order to help us detect if a chart is actually trending or going nowhere.

The 8 effective steps to build a robust day trading plan using Fibonacci retracement

For day traders. 2 highly important indicators to turn strategies into extreme winning ones. The Win/Loss ratio and the Reward/Risk ratio will allow us to identify the best times and days our strategy works the best

For day traders, this is one of the important thing to consider in order to improve our strategy by calculating on average how much an asset moves, in which it will allow us to identify the best TIME during the day to trade when the market moves the most as well

This is one of the important thing to consider in order to improve our strategy by calculating on average how much an asset moves, in which it will allow us to identify the best days to trade when the market moves the most as well as the worst days to trade in order to prevent trading during these days.

Most traders keep losing money because they focus on money rather than planning their trades based on Percentage risk.

Are you tired and lost when it comes to creating an attractive market watch list ? You always see pro traders creating an attractive market watch list in which they draw support/resistance and create all possible scenario ? Well we will guide you step by step to create your own attractive market watch list for potential entries.

123456789