Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Scripts

ToClearObjectsByTypeByTime - script for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
442
Rating:
votes: 16
Published:
2017.05.29 14:06

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 OBJ_TYPE=-1;    //The type of objects to delete
input uint TimeLevel=10;          //Trigger level in days

So, the TimeLevel input determines the number of days back from the current one. Objects before that day will be deleted.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17998

ToClearObjectsByType ToClearObjectsByType

The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal.

ToClearChartObjectsByType ToClearChartObjectsByType

The script removes from the current chart all objects of the user selected type

cm_ind_level_cndl cm_ind_level_cndl

The indicator displays the price pivot point.

Stochastic_Chaikins_Volatility Stochastic_Chaikins_Volatility

The Chaikin volatility indicator modified to have a stochastiс view, and implemented in the form of a signal cloud.