[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 183
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
What's wrong with the standard FileXXXXX functions?
I need to work outside the terminal folders and I'm trying to do that, I haven't found a more or less compact and working code on the site, I'm picking up the pieces. I have Win7 and everything I found either works on XP or Vista. If you have a link or your own experience I would be grateful. I've been struggling for a long time...
Need to work outside the terminal folders and I'm trying to do it, I haven't found any less compact and working code on the site, I'm picking up the pieces. I have Win7 and everything I found either works on XP or Vista. If you have a link or your own experience I would be grateful. I have been suffering for a long time...
Proven scheme:
1.Open a terminal (cmd), type the command mklink /?
2. Read the displayed help.
3.Create inside the experts/files folder a symbolic link to a location where you want to write/read files.
4. use it for a hundred years)
This only works on NTFS, if you have FAT32 disks then fail
example (inside files , a symbolic link-folder is created which leads directly to the root of the c drive):
all have the standard CLOSE script. It closes the first open trade. I thought that if I made it into an Expert Advisor, it would close all trades one by one.
I have looked at the structure - it is no different from Expert Advisor.
moved it to the folder "Expert Advisors" - I thought it would be executed not once but in a loop - but... it doesn't work.
please advise how (internally) the Expert Advisor is different from the script?
all have the standard CLOSE script. It closes the first open trade. I thought that if I made it into an Expert Advisor, it would close all trades one by one.
I have looked at the structure - it is no different from Expert Advisor.
moved it to the folder "Expert Advisors" - I thought it would be executed not once but in a loop - but... it doesn't work.
do you know the (internal) differences between the Expert Advisor and the script?
remove
#property show_confirm
example (inside files a symbolic link-folder is created which leads directly to the root of the c-drive):
Can you elaborate on this, it's interesting. I just open a command line:mklink /? Next is the help:
MKLINK [[/D] | [/H] | [/J]] Link Assignment
The default is to create a symbolic link to a file.
/H Create a hard link instead of a symbolic link.
/J Creating a connection for a directory.
Link New symbolic link name.
new link.
I need to use /D. It says ""/D" is not an internal or external command, executable or batch file.".
Maybe I'm doing something wrong, I just have the terminal on drive k, I specified it.
I gave an example above, try typing it into the command line and see what happens. Only specify your own path to the MT.