Please draft an example of how to set any icon ... I took a function from Kim's setArrow and I guess I passed the wrong parameters because icons are either drawn in a line or not drawn at all
Zver4991: Please draft an example of setting any icon... I took the setArrow function from Kim... I must be passing wrong parameters because the icons are either drawn in a line or are not drawn at all...
The price is correct. If all objects are on one line, they are lined up at the same price.
beginner: Is it possible to write information into csv file using MQL tools in a certain cell or how to format a file as a table?
Two ways.
1. Read the file into an array. Edit the array as needed, then overwrite the file with this array.
2. Calculate position for the file pointer to the beginning and the end of the data to be rewritten. We read the end part into the buffer and save it. Then we overwrite what was needed. Then we finish writing from the buffer with what we had read and remembered earlier.
Probably because the build is old and the MQL4 editor is new. Does it compile without errors?
No errors.
Is this the 600 build now?
No mistakes.
So it's 600 build now?
Must be 604 last.
Strangely, it didn't automatically update for me.
Downloaded it from the Metacvots. Turns out the build is already 604
Mastering the structures. Writing:
- The compiler swears that I can only pass constants. How do I pass variables in a structure?
Added by
Found a solution :
Got it, only constants can really be in curly braces.
Please draft an example of setting any icon... I took the setArrow function from Kim... I must be passing wrong parameters because the icons are either drawn in a line or are not drawn at all...
The price is correct. If all objects are on one line, they are lined up at the same price.
Is it possible to write information into csv file using MQL tools in a certain cell or how to format a file as a table?
Two ways.
1. Read the file into an array. Edit the array as needed, then overwrite the file with this array.
2. Calculate position for the file pointer to the beginning and the end of the data to be rewritten. We read the end part into the buffer and save it. Then we overwrite what was needed. Then we finish writing from the buffer with what we had read and remembered earlier.
Hi all!
Has anyone tried to measure the angle of the moving average? I need to measure it, but don't know which direction to start digging.