Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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 MQL5 des scripts pour MetaTrader 5 - 7

icon

Les scripts effectuent des actions ponctuelles dans MetaTrader 5 à l'aide d'un programme MQL5 et sont supprimés du graphique immédiatement après. Les exemples de fonctions comprennent le téléchargement de l'historique de trading, la génération d'un rapport et son envoi par e-mail, le téléchargement et le traitement des données depuis un fichier. Les scripts peuvent également être utilisés pour créer une interface graphique ou exécuter rapidement des opérations de trading de type unique, par exemple, clôturer immédiatement toutes les positions.

Vous pouvez télécharger et lancer les scripts proposés dans MetaTrader 5. La bibliothèque de scripts est également disponible directement depuis la plateforme MetaEditor, ce qui vous permet d'apprendre la programmation MQL5.

Soumettre votre code
dernier | meilleur

The script is developed for placing a SellStopLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price and order trigger prices.

The script is developed for placing a BuyStopLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price and order trigger prices.

The script is developed for placing a BuyLimit order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for placing a BuyStop order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for placing a SellStop order with fixed trigger levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for placing a SellLimit order with fixed actuation levels, Stop Loss and Take Profit levels in points from the current price.

The script is developed for selling with fixed Stop Loss and Take Profit values in points from the current price.

The script is developed for buying with fixed Stop Loss and Take Profit values in points from the current price.

Script to create wide screenshots.

A simple script for switching basic timeframes. It allows to change a chart period using hot keys.

Comparative study of sorting algorithms.

The script adds vertical lines on the chart at the news events.

Simple script to randomize all colors of your chart. Just click on it and see results yourself!

Enables the "Chart Objects Description" for non-programmers. For any open chart window.

A small example of the Mandelbrot fractal calculation in OpenCL. The OpenCL accelerates calculations of fractal approximately up to 100 times in comparison with the CPU calculations.

The script calculates Stop Out price (at this price position will be closed by broker) of the opened position and the price, at which Free Margin became negative (LockOut price).

Script for the charts simultaneous scrolling.

The simple script for deleting all graphical objects from a financial asset chart. It can be useful, in case the chart is overcrowded by objects that are not needed anymore.

The script exports historical data to HST format for its use in MetaTrader 4 client terminal. This file can be imported in MetaTrader 4 as historical data or you can open it as offline chart.

This script reads all opened position and calculates their exposure for each currency.

The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.

The script downloads historical data (for the current symbol), available at trade server.

This script exports indicator's values to CSV file.

New version of the sChartsSynchroScroll script.

This script generates a file with its source code (solution of the classical program in MQL5). It may be useful to study programming and algorithms.

The script allows you to place the deals history on the chart using the graphic objects.

The script exports historical quotes data from MetaTrader 5 for the import to MetaTrader 4. This solution will allow you to get the full history for MetaTrader 4.

Since Terminal build 344 added display of economic calendar news using special graphical objects (OBJ_EVENT). A script that outputs as a demonstration of the Economic Calendar with current economic data, the date of the last major (Pink) event.

The script calculates the number of lots to trade using the specified percentage of risk funds.

The script purpose is to export historical rates data to format, convenient for analysis in external programs.

The script gets contents from the Windows Clipboard.

The script provides a synchronous scrolling for all charts opened in the client terminal.

1234567