MQL5 Storage: your code is always by your side!

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
200897
MetaQuotes Software Corp.  

Most MQL5 developers use more than one MetaTrader 5 terminal in their everyday work. They often start writing their Exeprt Advisor at one place and then have to continue their work somewhere else: at work, at their country-house or on vacation. The simplest solution in that case is to carry a pocket USB drive and copy the latest versions of your work on it periodically.

But sometimes we forget about this simple procedure and eventually realize that we can't continue our work from the latest version. The necessity to copy your data from one device to another can also be quite irritating, as it consumes our precious time. In other words, this small but vexing issue demands an ultimate solution and we can suggest you one. We launch the system of personal data storage - MQL5 Storage!



Enter your MQL5.community profile and create your personal MQL5 code storage by a single mouse click. Confirm your choice by entering your actual password and click Apply. That's all! The repository is located at https://storage.mql5.com. When entering it, the site will request your mql5.com login and password. Click on the Personal folder to see its internal structure. Each user can see his/her own personal folder, other users have no access to it.



At the current stage you can enter MQL5 Storage with any client for Subversion versions control system using your MQL5.community login and password. The possibility to place your codes to the Storage directly and get it from there will be implemented in the future MetaEditor 5 builds. Therefore, the convenience of using MQL5.community resources will be enhanced.


Getting files from the storage

Let's examine how we can connect to our personal storage from anywhere in the world using TortoiseSVN 1.7 as an example.

  1. Create a folder for synchronization with the storage, for example, MQL5_Storage\Personal\.
  2. Right-click on the Personal folder and select checkout to load your data from the storage to the local hard drive of your computer.



  3. Enter the following repository web address as an URL https://storage.mql5.com/svn/Personal/<your_login_at_ mql5.com>.



    Accept the suggested certificate permanently. It is a common certificate from Thawte.




  4. Enter your MQL5.community username and password.


The appropriate SVN message will appear after all the data is successfully uploaded from the storage.



Loading files to the storage

You must complete 3 steps to put your files to the storage:

  1. Place the necessary file to the local folder. The figure below shows that 2D_Hedgehog.mq5 file has been placed to the E:\MQL5_Storage\Personal\ folder



  2. Right-click on the file and select Add




  3. Right-click on the Personal folder synchronized with your Personal folder in the storage and select "SVN Commit"


Uploading to the storage is over. Therefore, you can place your data in MQL5 Storage, while being at one place, and get it back being somewhere else.

Using the storage is free, you only need to have an account at MQL5.com. You are completely mobile now. You can write your programs everywhere and any time and you don't have to worry about synchronization of your MQL5 codes versions any more. We will continue developing the storage and a cooperative work on different projects together with other MQL5.community participants will be soon available to you.
Rashid Umarov
Admin
14304
Rashid Umarov  
MQL5 Storage moved to a new address - https://storage.mql5.com/svn/Personal/. The text of the announcement was corrected, images will change later.
Rakhman Aries Nugroho
274
Rakhman Aries Nugroho  

Is it now the project folder can be use ?

if yes, where's the Knowledge Base of it ?

if no, any plan to be able to it ?

Alain Verleyen
36610
Alain Verleyen  
ibjakarta:

Is it now the project folder can be use ?

if yes, where's the Knowledge Base of it ?

if no, any plan to be able to it ?

AnonymousTrades
9
AnonymousTrades  
Alain Verleyen:


ibjakarta:

Is it now the project folder can be use ?

if yes, where's the Knowledge Base of it ?

if no, any plan to be able to it ?

I tried to setup my project in MQL Storage but it does not seem to work for me. I did the following:

  1. I chose "Add File or Folder" for the context menus of the files I used to work with before activating MQL5 Storage in my user profile.
  2. The files in step 1 are located in subfolders of MQL5\Experts, MQL5\Include, and MQL5\Indicators. Before doing step 1 for my indicators I read the page Projects and believed I was supposed to create the project tree below MQL5\Projects as you see in the attached screenshot. That's why there's no plus sign at the folder MQL5\Indicators.
  3. When all files for my project were below MQL5\Projects I was looking for how to transfer my project files to MQL5 Storage. However, I was surprised by not finding the command Commit to Storage in my project folder's context menu. Steppping down in my project hierarchy I could only start to commit with the mq5-file.
  4. Once I had started comitting file I could even commit all desired indicators at once because I had copied them to the subfolder SuperTrendSwing of MQL5\Projects\SuperTrendSwing\Indicators.
  • I am unable to find my files in https://storage.mql5.com/svn/Personal/<MQL5.community account>/MQL5 although this should be possible according to Projects.
  • As you see in the screenshot there is a red exclamation mark at the folder MQL5\Projects\SuperTrendSwing whose meaning is still secret to me. Could anybody explain this?
  • During all my unsuccessful tries to set my project up the intended way I wanted to see what happens when I directly edit the files below MQL5\Projects. Of course, they are written as if the folders MQL5\Projects\SuperTrendSwing\Experts and MQL5\Projects\SuperTrendSwing\Include were MQL5\Experts and MQL5\Include so unfortunately when editing the mq5 file and using Alt+G on an object the include file below MQL5\Include is opened rather than the one below MQL5\Projects\SuperTrendSwing\Include.

So far the only way to solve the last item I could think of is to develop my project in MQL5\Experts and MQL5\Include and such that I have to copy the files to MQL5\Projects\SuperTrendSwing\Experts and MQL5\Projects\SuperTrendSwing\Include before being able to commit them to MQL5 Storage. This procedure seems somewhat inconvenient to me.

I'd be extremely grateful for hints at how to have development cycles that are closer to common standards of Java and C++ programmers.

Projects - MetaEditor Help
Projects - MetaEditor Help
  • www.metatrader5.com
MetaEditor allows programmers to remotely develop MQL4/MQL5 applications in teams using Projects. Teamwork is performed via MQL5 Storage. It means...
AnonymousTrades
9
AnonymousTrades  
AnonymousTrades:

I tried to setup my project in MQL Storage but it does not seem to work for me. I did the following:

  1. I chose "Add File or Folder" for the context menus of the files I used to work with before activating MQL5 Storage in my user profile.
  2. The files in step 1 are located in subfolders of MQL5\Experts, MQL5\Include, and MQL5\Indicators. Before doing step 1 for my indicators I read the page Projects and believed I was supposed to create the project tree below MQL5\Projects as you see in the attached screenshot. That's why there's no plus sign at the folder MQL5\Indicators.
  3. When all files for my project were below MQL5\Projects I was looking for how to transfer my project files to MQL5 Storage. However, I was surprised by not finding the command Commit to Storage in my project folder's context menu. Steppping down in my project hierarchy I could only start to commit with the mq5-file.
  4. Once I had started comitting file I could even commit all desired indicators at once because I had copied them to the subfolder SuperTrendSwing of MQL5\Projects\SuperTrendSwing\Indicators.
  • I am unable to find my files in https://storage.mql5.com/svn/Personal/<MQL5.community account>/MQL5 although this should be possible according to Projects.
  • As you see in the screenshot there is a red exclamation mark at the folder MQL5\Projects\SuperTrendSwing whose meaning is still secret to me. Could anybody explain this?
  • During all my unsuccessful tries to set my project up the intended way I wanted to see what happens when I directly edit the files below MQL5\Projects. Of course, they are written as if the folders MQL5\Projects\SuperTrendSwing\Experts and MQL5\Projects\SuperTrendSwing\Include were MQL5\Experts and MQL5\Include so unfortunately when editing the mq5 file and using Alt+G on an object the include file below MQL5\Include is opened rather than the one below MQL5\Projects\SuperTrendSwing\Include.

So far the only way to solve the last item I could think of is to develop my project in MQL5\Experts and MQL5\Include and such that I have to copy the files to MQL5\Projects\SuperTrendSwing\Experts and MQL5\Projects\SuperTrendSwing\Include before being able to commit them to MQL5 Storage. This procedure seems somewhat inconvenient to me.

I'd be extremely grateful for hints at how to have development cycles that are closer to common standards of Java and C++ programmers.

When again Committing MQL5\Projects\SuperTrendSwing to Storage my project folders were provided with green check marks which looks kind of promising to me.

  • However, I am still unable to find my files in https://storage.mql5.com/svn/Personal/<MQL5.community account>/MQL5 although this should be possible according to Projects

Isn't the phrase

Despite the fact that Projects folder is located inside MQL4/MQL5, the projects are located separately from the user's personal directory (https://storage.mql5.com/svn/Personal/<MQL5.community account>/MQL5). All projects are stored in a separate section https://storage.mql5.com/svn/Projects/.

meant to say that I will have web access to my project files?

Files:
Massibaugigi
17
Massibaugigi  

Hi to all,

I fight to find a solution to my problem but I did not managed to. I tried to contact the service desk and I'm waiting for a reply.

The problem is that my storage does not work properly, I managed to activate it from Metaeditor and committed the files' changes to the storage getting the green flag on the committed files. However, I do not find anything on the visualSVN website https://storage.mql5.com. Not even checking out the repository from a SVN client solve the problem.

The really strange thing is that I don't have the storage icon on the left side of my account's page. Can someone help me please?

Thanks,

Massimiliano

To add comments, please log in or register