Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Scripts

Multi-SellLimitOrders and Multi-SellStopOrders - script pour MetaTrader 5

Vues:
8863
Note:
(16)
Publié:
Mise à jour:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

==============================================================================================

Multi_SellLimitOrder & Multi_SellStopOrder upgrade: 

Fixed minor execution errors across different brokers and added detailed error descriptions.

Allow to use magic number and order comments. 

Adjust slippage for specific instrument

=============================================================================================


SellLimitInput


SellStopInput

    Multi-BuyLimitOrders and Multi-BuyStopOrders Multi-BuyLimitOrders and Multi-BuyStopOrders

    Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or points. 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. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

    Multi-SellOrders Multi-SellOrders

    To assist traders who wish to open multiple sell 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. NumberOfSells is the number of trades to execute. 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 sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading

    Risk Calculator Risk Calculator

    Calculates the risk in the account currency for a given trading volume of the selected symbol at different time periods.

    CheckTrades CheckTrades

    This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary