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

2008.10.15 07:24
Libraries

ZH_Global_Chart_Variable_Lib - library for MetaTrader 4

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

Views:
3136
Rating:
votes: 4

A global graphical variable (graphical object) is only visible to the programs of one window.

This level of variable allow to easily implement an exchange of short data between programs of one window using MT4 tools.

Any data entry is a text entry in the properties of the grapical object. The length of the entry can not exceed 62 symbols.

The functions are provisory divided into four groups.
1. The function returns the numeric value of the global graphical variable.
2. The function returns the string value of the global graphical variable.
3. The function sets a new numeric value to the global graphical variable.
4. The function sets a new string value the global graphical variable.
The functions of working with the graphical arrays.
5. The function changes the value of the specified cell of the graphical array.
6. The function reads the specified cell of the graphical array with the data of the double accuracy.
7. The function returns the number of elements of the specified dimension of the graphical array.
8. The function changes the size of the specified dimension of the graphical array.
Fucntions of working with the graphical files.
9. The function writes a one-dimensional integer array into the graphical file.
10. The function writes a two-dimensional integer array into the graphical file.
11. The function writes a one-dimensional array with the data of double accuracy into the graphical file.
12. The function fills the global graphical two-dimensional array with the values of the double accuracy.
13. The function reads the specified number of elements from a graphical file to the one-dimensional integer array.
14. The function reads all elements from a graphical file to the two-dimensional integer array.
15. The function reads the specified number of elements from a graphical file to the one-dimensional array of the double accuracy data.
16. The function reads all elements from a graphical file to the two-dimensional array with the double accuracy data.
The secondary functions of working with the global graphical variables, arrays and files.
17. The function of controlling the presence of a global graphical variable.
18. The function of deleting a global graphical variable.
19. The function returns the name of the global graphical variable by the index number in the list of global graphical variables.
20. The function returns the total number of the global graphical variables.
21. The function deletes the global graphical variables.
22. The function changes the name of the global graphical variable.

You can read and write the variables using functions from different goups and in any combination.

The functions look like the embeeded MQL4 functions of the same tenor comparing by the names and the location of the parameters.

The haeder file is attached. You should put it into the include files folder.

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

Fundamental Trader DailyFX CSV MQL4 Fundamental Trader DailyFX CSV MQL4

This Expert Advisor trades every news event that is scheduled to release on www.dailyfx.com/calendar for the current week. The EA waits for the next news event to be released, compares the released economic data, determines which currency to trade and exe

ZZ_All Quotings 0-0090 ZZ_All Quotings 0-0090

A script for uploading the history by all known currency pairs, metals, indexes, CFD's and for controlling the "hole" in the history.

Time_modified Time_modified

Modified MarketTime indicator .

Cloq Cloq

The indicator displays the time of the trading session.