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

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 demonstrates the example of using the FileWriteInteger() function

The script demonstrates the example of using the FileTell() function

The script demonstrates the example of using the FileSize() function

The script demonstrates the example of using the FileWriteDouble() function

The script demonstrates the example of using the FileWrite() function

The script demonstrates the example of using the FileReadArray() function

The script demonstrates the example of using the FileGetInteger() function

The script demonstrates the example of using the FileIsEnding() function

The script demonstrates the example of using the FileFlush() function

The script demonstrates the example of using the FileMove() function

The script demonstrates the example of using the FileDelete() function

The script demonstrates the example of using the FileCopy() function

The script is a simple example of using the FileFindFirst(), FileFindNext() and FileFindClose() functions

These scripts are designed to sell with fixed values of Stop Loss and Take Profit in points from the current price

These scripts are designed to buy with fixed values of Stop Loss and Take Profit in points from the current price

The OpenSellPosition_X script is created to sell at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.

The OpenBuyPosition_X script is designed to buy at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.

MPC is a script which measures (searches) the most frequently occurring candlesticks

The script imitates the One Cancel Other function for orders. When one order is triggered, the others are deleted.

bts

Comparing the speed of a binary or a ternary search

The script for manual trade: when achieving the limit price the script sets stop order and logs out

The CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.

The script calculates Pivot Point on all the symbols from the market watch and displays the results in html-file.

Export of all necessary instruments and time frames in one click with load and checking history

This script attempts to demonstrate the power of using support vector machines in solving classification style problems.

The simplest script to send instant PUSH-notifications to smartphone

This script displays several subcharts in a single chart window according to the number of currency pairs in Market Watch menu.

This is an informative script displaying data on the current trading pair in the chart window.

This is an informative script displaying data on the current trading account in the chart window.

The script is designed for closing open positions.

The script is developed for reversing open positions with fixed Stop Loss and Take Profit values in points from the current price and the volume depending on the reversed position.

Empirical mode decomposition of the current symbol.

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.

12345678