Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 591

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Artyom meant by "... condition triggered - put a mark.", what he meant was to write in the script code to set the icon (marker) when the condition is triggered.
The MQL4 Reference has very good examples of scripts for creating icons. For example, this script that creates and moves "Buy" icons on a chart.Good script, pull the required function from there,
and there you have it.
I want to write the structure, but I can't! It is written in the help that FileWriteStruct writes to a binary file, if the size is not specified, then the entire structure.
Who has any opinion?
It still writes to a binary.
Or send me to a branch where they can help.
I want to write the structure, but I can't! It is written in the help that FileWriteStruct writes to a binary file, if the size is not specified, then the entire structure.
Who has any opinion?
It still writes to a binary.
Or direct me to a branch where they can help.
Where do you define the array size?
Where do you define the array size?
In the " ORD Orders[10];" declaration or via "ArrayResize( Orders, 10)", but this does not affect the error. I just checked it. (I really didn't specify the size in the script.)
I take it that there is no possibility to convert different types of data.
Terminal 646, ME 934.
in the " ORD Orders[10];" declaration or via "ArrayResize( Orders, 10)", but this does not affect the error. Just checked. (I really didn't specify a size in the script.)
I take it that there is no possibility to convert different types of data.
Terminal 646, ME 934.
The test example reported that the file was created. Just can't find it
The test example reported that the file was created. I just can't find it.
Found it. Although I should have it in a completely different directory. So it works.
Found it. Although I have it in a completely different directory. So it works.
Can I have a look at the corrections? If the file is mine.
If the one in the help, DEMO_FileWriteStruct, so it compiles, I tried to take the function of writing to the file from it, but I do not need to control the number of lines written. Or did I understand that the structure is written byte-by-byte?
Then I have a question, should it be read byte-by-byte too? In the structure, when it is needed to load it back from the file?
Can we have a look at the corrections?
I used the example from the help
I used the example from the help
The generated file can be found in \Data\EURUSD.
The terminal starts with the portable key and is located on drive D. The file is generated on drive C in a shared folder.