Autorisez l'utilisation de cookies pour vous connecter au site Web MQL5.com.
Veuillez activer les paramètres nécessaires dans votre navigateur, sinon vous ne pourrez pas vous connecter.
Vous êtes connecté. L'authentification à deux facteurs a été désactivée. Configurez-la à nouveau et scannez un nouveau code QR, ou continuez avec l'authentification à deux facteurs désactivée.
Activer l'authentification à deux facteurs ContinuerThe script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.
Ce script permet de faire défiler de manière synchronisée tous les graphiques ouverts dans le terminal.
A script to place straddle orders around current price level to catch price spikes around announcements.
Ce script est conçu pour définir un ordre BuyLimit avec des valeurs fixes de niveau de déclenchement, de niveau de stop loss et de niveau de take profit en pips par rapport au prix actuel.
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.
This script opens a buy or sell order randomly having equally spaced take-profit and stop-loss levels.
This strategy is the well known set & forget accompanied by the anti-martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.
The code defines a function "RangeHighs" that calculates the highest price of a financial instrument within a specified time range (start and end time). The time range is defined by 4 input parameters (hour and minute of start and end time). The highest price is found using the "CopyHigh" function and stored in an array, from which the maximum value is returned.
Get commission of an active position in mt5 , its easy to use function.
This script counts the number of pending buy stop orders for each symbol and returns the value.
To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. NumberOfBuys is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).
The script removes from the current chart all objects of the user selected type
Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the points value is set to 400, which means the trade will be placed 400 points away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a points-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.
Le script calcule le prix auquel un Stop Out (fermeture forcée d'une position) peut se produire et le prix à partir duquel la valeur de la Marge Libre devient négative.
When run on the price chart, the script modifies stop loss or take profit of all open orders for the current instrument.
Depuis la version 344 de Terminal, l'affichage des actualités du calendrier économique s'effectue à l'aide d'objets graphiques spécifiques (OBJ_EVENT). Ce script permet de visualiser, à titre de démonstration, le calendrier économique avec les données économiques actuelles, ainsi que la date du dernier événement majeur (en rose).
The script imitates the One Cancel Other function for orders. When one order is triggered, the others are deleted.
Script permettant de convertir une durée exprimée en secondes en années, mois, jours, heures, minutes et secondes. Sans utiliser les fonctions MQL !
Export history of deals from MT5 retail hedging account selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.
Le script calcule la taille du lot en fonction d'un pourcentage donné des fonds disponibles.
Modified scripts to change Charts(next,previous) and Timeframes(higher,lower) of all charts quickly by hotkeys.
VR Orders History MT5 Lite - a script for downloading trading history in the CSV format.
The script exports summary of closed trades grouped by each currency pair to .csv file