Join our fan page
- Views:
- 9203
- Rating:
- Published:
- 2008.11.09 08:30
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
CLEAR_CHART_ON_NAME_AND_TYPE script selectively clears the chart by the part of the name and/or by the type of the object.
The lines, marks, texts, channles are accumulated on the chart.
The experiments with the indicators leave thousands of graphic arrows.
You can close and reopen the chart to clear it.
Then you can apply a template to restore the settings.
However all graphical objects will be erased.
24 objects are appplied in MQL 4. They are the vertical and horizontal lines, trend lines, channel lines, Fibo, etc.
This srcipt has 25 parameters for the selective deleting.
The selectivity is specified with the external parameters:
First of all it is any part of the objects' names.
For example: "#" will clear the graphical history of the trades.
Then comes a bonus: the list of the objects that can be deleted using this script.
All fields are inactive on default.
Rules:
1. if all fields are inactive, i.e. they are empty or equal to False then the screen will be cleared from all the objects, i.e. the script will delete all graphical objects if you don't modify its parameters.
2. if you change even one parameter:
- specify a part of the object's name: only the objects that contain that part will be deleted.
- specify a type of the graphical objects: all the objects of that type will be deleted.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8545
![Pipsing_Close_on_DROP](https://c.mql5.com/i/code/script.png)
The script closes any position using the Drag'n'Drop method, i.e. the method of "drag the script with the mouse and drop it on the order lines".
![Brakeout_Trader_v1.mq4](https://c.mql5.com/i/code/expert.png)
EA that opens a trade when a candlestick closes out of the specified level on a break through. An update to the graphical treminal. But the help in code further development is necessary.
![Moving Average Based on Demark's Approaches](https://c.mql5.com/i/code/indicator.png)
The drawing of the moving average is performed on the basis of Demark's method "Daily Range Projections". Indicator on a zero bar points at the future price change.
![Expert Advisor Based on FXRaider's Trade Strategy](https://c.mql5.com/i/code/expert.png)
Expert Advisor Based on FXRaider's Trade Strategy by ForTrader.ru.