ToClearChartObjectsByType - script for MetaTrader 5

ToClearChartObjectsByType - script for MetaTrader 5

The script removes from the current chart all objects of the type selected by the trader in input parameters. //+-----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+-----------------------------------------------+ input ENUM_OBJECT OBJ_TYPE = -1;    //The type of objects to
ToClearObjectsByType - script for MetaTrader 5

ToClearObjectsByType - script for MetaTrader 5

The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal. //+-----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+-----------------------------------------------+ input ENUM_OBJECT OBJ_TYPE = -1;    //The type of
ToClearObjectsByTypeByTime - script for MetaTrader 5

ToClearObjectsByTypeByTime - script for MetaTrader 5

The script removes old objects of the selected type from all charts, if the time coordinates of these objects are outside of the trigger level. //+-----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+-----------------------------------------------+ input ENUM_OBJECT
ToClearComment - script for MetaTrader 5

ToClearComment - script for MetaTrader 5

The script removes from the chart a comment located in the upper left corner. The script can be useful after you remove from your chart indicators that add such comments but do not delete them in the OnDeinit functional block. Fig1. An example of such a comment
SD Delete Indicators - script for MetaTrader 5

SD Delete Indicators - script for MetaTrader 5

The script allows to quickly remove indicators from charts. It has two operating modes: ONLY_THIS_CHART - only delete from the current chart (used by default); ALL_CHARTS - delete from the current chart and all other charts opened in the trading platform. Note: before using this scripts, it is may be sometimes useful to run the SD W indicators and charts script, which displays information about all running indicators in the Experts tab. This can
OpenBuyStopLimitOrder - script for MetaTrader 5

OpenBuyStopLimitOrder - script for MetaTrader 5

A script for placing a BuyStop Limit order. Script input parameters: //+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+----------------------------------------------+ input double  MM=0.1;       // Money Management input
OpenSellStopLimitOrder - script for MetaTrader 5

OpenSellStopLimitOrder - script for MetaTrader 5

A script for placing a SellStop Limit order. Script input parameters: //+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+----------------------------------------------+ input double  MM=0.1;       // Money Management input
OpenBuySellStopLimitOrders - script for MetaTrader 5

OpenBuySellStopLimitOrders - script for MetaTrader 5

A script for placing two Buy Stop Limit and Sell Stop Limit orders at an equal distance. Script input parameters: //+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+----------------------------------------------+ input double  MM=0.1;       // Money
MAX_LOT - script for MetaTrader 5

MAX_LOT - script for MetaTrader 5

Real author: Andrey Mishustin The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit. The calculated value is displayed in the upper right chart corner for 10 seconds by default. This code was first implemented in MQL4 and published in Code Base at mql4.com on 21.06.2012. Fig1. The MAX_LOT script on the chart
CloseOrdersBySymbol - script for MetaTrader 5

CloseOrdersBySymbol - script for MetaTrader 5

The script closes all pending orders on the current symbol. Script input parameters: //+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS                     | //+----------------------------------------------+ input uint RTOTAL=4;        // Number of attempts in case of