Download MetaTrader 5

Creating files outside the terminal path.

To add comments, please log in or register
claudio
76
claudio 2010.12.17 11:47 

Hi there

I'm doing mass testing with resulting massive size files.

I have a small pc hard disk.

I'm desperately trying to handle these files on my external terabyte hardrive, but I can't find no way to specify in MQL5 a path outside the terminal.

Is there any way to do this?

Pawel Wojnarowski
686
Pawel Wojnarowski 2010.12.17 13:27  
claudio:

Hi there

I'm doing mass testing with resulting massive size files.

I have a small pc hard disk.

I'm desperately trying to handle these files on my external terabyte hardrive, but I can't find no way to specify in MQL5 a path outside the terminal.

Is there any way to do this?

From MQL5 reference:

 

File Functions

This is a group of functions for working with files.

For security reasons, work with files is strictly controlled in the MQL5 language. Files with which file operations are conducted using MQL5 means, cannot be outside the file sandbox.

There are two directories (with subdirectories) in which working files can be located:

  • terminal_path\MQL5\FILES\ (in the terminal menu select to view "File" - "Open the data directory");
  • the common folder for all the terminals installed on a computer - usually located in the directory C:\Documents and Settings\All Users\Application Data\MetaQuotes\Terminal\Common\. 

 

claudio
76
claudio 2010.12.17 16:26  

That's exactly the answer I didn't want to have. Sighh

I did read that line but I was just hoping in some miracle or some type of  shortcut.

Looks like Metaquote wants me to buy a new Computer with larger Hard Drive.

Thanks anyway Enigma !

muller
559
muller 2010.12.17 17:58  
claudio:

That's exactly the answer I didn't want to have. Sighh

I did read that line but I was just hoping in some miracle or some type of  shortcut.

Looks like Metaquote wants me to buy a new Computer with larger Hard Drive.

Thanks anyway Enigma !

maybe i miss something but why not installing the whole MT5 system on that external drive ? That way everything should be fine.
claudio
76
claudio 2010.12.20 14:35  

mmm... that's a good one Razoff

It's not really recommended to install programs outside the main partition, even less in an external harddrive.

I was so used at this that your idea didn’t even touch my mind.

But given my issue maybe is worthy to give it a try.

Cheers

Alexey Da
Moderator
6657
Alexey Da 2010.12.20 14:45  
How do you usually getting access to your external drive? Is it network drive or USD drive?
claudio
76
claudio 2010.12.21 14:54  

It's just an external USB hardrive plugged on my laptop.

Anyway I've done it and it seems working fine.

Not really happy about having a software installed in an external drive, but at least I solved my problem.


To add comments, please log in or register