[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 559
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
I'm sorry, I can't find... can you tell me please.
HOW TO MOVE ALL ELEMENTS OF A ONE-DIMENSIONAL ARRAY BY 1 INDEX?
Is there an operation or does it need to be done in a loop?
https://www.mql5.com/ru/forum/131859/page8#434278
Not really...
I wanted to do something like a menu. Just like in bool variable either false or true.
The user is even myself. As it is possible to forget what parameters should be there for a particular variable.So that the user can click only on clearly defined values of the parameter. So that he "mistakenly" does not enter unnecessary ones, because in this case, the Expert Advisor will not work correctly.
MQL4 does not have such a possibility (but MQL5 does). You can check this parameter in initialization and if it does not correspond to a certain value, then signal an error. Then at the very beginning of the start it should be checked. I did so in my EA, for example:
Hi all. I'm trying to write a function that writes a file to a directory specified by the user (working outside the sandbox).
I wrote code using"ZI_File_Functions_Full_Lib" libraryhttps://www.mql5.com/ru/code/8577
The function"PathFunctions.dll."https://www.mql5.com/ru/code/10873 is not suitable as it works with Vista, I have Windows 7.
All unnecessary things removed as reading is not needed, just take directory and there create file with value which is initially known, that's all.
Questions:
1. I can't figure out where is the value we are writing to the file?
2. I cannot locate where a mistake is written?
Thanks in advance.
Hi all. I'm trying to write a function that writes a file to a directory specified by the user (working outside the sandbox).
I wrote code using"ZI_File_Functions_Full_Lib" libraryhttps://www.mql5.com/ru/code/8577
The function"PathFunctions.dll."https://www.mql5.com/ru/code/10873is not suitable as it works with Vista, I have Windows 7.
All unnecessary things removed as reading is not needed, just take directory and there create file with value which is initially known, that's all.
Questions:
1. I can't figure out where is the value we are writing to the file?
2. I cannot locate where a mistake is written?
Thanks in advance.
Artyom!!! Where is it written that it does not work with Windows 7? Why are you reading so inattentively? I'm not surprised that it doesn't work for you.
I looked at your code and realized that you do not know how to program. Take the example from the help first. Run it. See how it works. Then go on to more complicated things.
A file is first created or opened. Then write or read it. Then close it. You just copied the function declarations into the start. You have torn a piece of code out of a universal function. Now it just hangs there. It has nothing to do with anything. What's that for? It won't work.
Good afternoon, could you please tell me how to close the strategy tester, what do I have to press?
Which document do I have to upload to my personal account?
What for?