Kod: Zaznacz cały
NazwaFolderu = "\\F1\\";
name_file = Symbol()+ Period()+ ".csv";
handle = FileOpen(NazwaFolderu + name_file , FILE_WRITE|FILE_CSV, "\t")
Kod: Zaznacz cały
NazwaFolderu = "\\F1\\";
name_file = Symbol()+ Period()+ ".csv";
handle = FileOpen(NazwaFolderu + name_file , FILE_WRITE|FILE_CSV, "\t")
int FileOpen( string filename, int mode, int delimiter=';')
Opens file for input and/or output. Returns a file handle for the opened file or -1 (if the function fails). To get the detailed error information, call GetLastError() function.
Notes: Files can only be opened in the terminal_directory\experts\files folder (terminal_directory\tester\files if for expert testing) or in its subfolders.
W Win7 aby utworzyć junction wystarczy:bialy pisze:do tworzenia linkow symbolicznych polecam jeden z programow SysinternalsSuite>junction.exe
w winXP to jedyna mozliwosc, win7 ma to w standardzie
/ja mam tylko XP i junction dziala w 100%/ mialem polaczenie MT5 z MT4
Kod: Zaznacz cały
mklink /J [nazwa] [katalog docelowy]