Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
ToClearObjectsByTypeByTime - script for MetaTrader 5
- Views:
- 2318
- Rating:
- 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
The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal.
ToClearChartObjectsByTypeThe script removes from the current chart all objects of the user selected type
cm_ind_level_cndl
The indicator displays the price pivot point.
Stochastic_Chaikins_VolatilityThe Chaikin volatility indicator modified to have a stochastiс view, and implemented in the form of a signal cloud.