Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
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

Views:
2162
Rating:
(19)
Published:
2017.05.29 14:06
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
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.