How to Start with Metatrader 5 - page 102

Sergey Golubev
Moderator
107259
Sergey Golubev  

Testing trading strategies on real ticks 



The article provides the results of testing a simple trading strategy in three modes: "1 minute OHLC" using only Open, High, Low and Close prices of minute bars; detailed modeling in "Every tick" mode, as well as the most accurate "Every tick based on real ticks" mode applying actual historical data.

Comparing the results allows us to assess the quality in various modes, as well as helps us to use the tester more efficiently in order to receive results faster. "1 minute OHLC" mode allows receiving quick estimated test results, "Every tick" mode is closer to reality, while testing on real ticks is most accurate but time-consuming. Keep in mind that errors in a trading robot's logic may affect the number of trading operations making the strategy test results more susceptible to a selected test mode.

Testing trading strategies on real ticks
Testing trading strategies on real ticks
  • 2016.08.04
  • MetaQuotes Software Corp.
  • www.mql5.com
The article provides the results of testing a simple trading strategy in three modes: "1 minute OHLC", "Every tick" and "Every tick based on real ticks" using actual historical data.
Sergey Golubev
Moderator
107259
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

Add the new Economic Calendar widget to your website for free!

MetaQuotes Software Corp., 2017.06.14 15:30

A month ago we released our economic calendar for fundamental market analysis. Now we have prepared a new widget, that can be used to embed the economic calendar on a website or blog. The new service will help you attract visitors, while providing traders the opportunity to instantly receive up-to-date information about macroeconomic events.


Add the new Economic Calendar widget to your website for free

To receive the widget, go to the economic calendar page on MQL5.com and click on the "Add widget to your website" link. Specify the desired width and height of the calendar widget for your site, select the default period of featured events (current day or current week), copy the generated code and insert it to your web page. In the Preview section, you can see how the calendar will be displayed on your site.

For example, here is the embed code for a responsive calendar widget featuring current events weekly:

<!-- Economic Calendar Widget BEGIN -->
<script id="economicCalendarWidget" type="text/javascript" src="https://c.mql5.com/js/widgets/calendar/widget.v1.js"></script>
<script type="text/javascript">
    new economicCalendar({ width: "100%", height: "100%", mode: 2 });
</script>
<!-- Economic Calendar Widget END -->

The current calendar version features economic news from the US, Japan and the European Union. News from the United Kingdom will be added soon. Also soon, the new calendar will replace the current one used in the MetaTrader 5 trading platform, so users will be able to receive up-to-date indicator values immediately after their release, as well as access the economic calendar data from MQL5 robots and the strategy tester.

Add the economic calendar to your website and provide traders with a ready-to-use tool for monitoring important macroeconomic events!

Receive the Economic Calendar embed code


fxstrategist007
129
fxstrategist007  

Good ideas to put into practice, very good info and useful.

Sergey Golubev
Moderator
107259
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

Simplified request to open a real account in MetaTrader 5 iOS build 1605

MetaQuotes Software Corp., 2017.06.15 13:42

The new MetaTrader 5 for iOS build 1605 provides the possibility to easily open preliminary brokerage accounts. When opening a new account, select "Open a real account" from the menu, and find your broker in the list of servers. Fill in a simple form with your personal details and attach two documents to confirm your identity and address. You request will be forwarded to the broker, who will open a real account for you and request additional information if necessary.

Simplified request to open a real account in MetaTrader 5 iOS build 1605

Another new feature in the updated MetaTrader 5 for iPhone is the optimized and redesigned email section:

  • Related emails are now combined into threads and are displayed as one item in the list of emails
  • A preview of email attachments has been added
  • Up to five attachments can now be sent in one email (file size should not exceed 8 Mb).

Download the mobile application right now and enjoy these new exciting features. If you cannot find your broker in the list of available servers, please request from them to contact us.

Download MetaTrader 5 for iOS


Sergey Golubev
Moderator
107259
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

mql5 storage

Mohammad Soubra, 2017.02.09 18:12

After the steps of the link

https://www.metatrader5.com/en/metaeditor/help/mql5storage/mql5storage_connect 

you have to do:

Working with the Storage

The MQL5 Storage works only with the MQL4/MQL5 folder of the client terminal. All operations with the MQL5 Storage are performed via the context menu of the "Navigator" window and through the context menu of the source code editor:

Using the menu commands you can perform the following actions in the MQL5 Storage:

 

  • Checkout of data from the repository
  • Update data from the repository
  • Commit changes in the repository
  • Add files/folders in the repository
  • Delete files/folders from the repository
  • Cancel current changes in the local copy of data
  • View logs of data changes in the repository
  • View changes in the working copy of the file

Getting Started

The storage contains the information as a tree of files. When connecting to the storage, the MetaEditor user reads and writes these files. The user always works with a local copy of data and, if necessary, sends changes to the repository.

Each transaction of changes is recorded in the storage journal, and later the user can view when, by whom and what files were changed. A certain revision number corresponds to each transaction of changes. A revision is a state of the storage at a point of time. Each time you send changes, a new revision is created (its number is increased) in the storage. Based on the revision number, the storage determines the state of data and merges them. The user can also update the local data copy to a selected revision or revert to any revision.

To begin to work with data in the MQL5 Storage, you must associate a local data folder with the appropriate folder in the storage. This can be done in two ways:

  • If you have just created a repository, it is empty. You need to add a directory in it. After that, an appropriate directory is created for the specified directory in the repository (at the same path relative to the /MQL4 or /MQL5 folder). This is a root directory. All operations with files are performed in this directory.
  • If the storage already has some data, you can download them to a local directory. For example, the storage contains the folder /Personal/account_name/MQL5/Experts. You can download the data stored in it to a local directory /MQL5/Experts.

The top directory in the hierarchy, which is bound to the storage, is a root directory. You work with the repository only within this directory. It is not necessary to bind the top directory /MQL4 or /MQL5 to the storage. Any subdirectory within /MQL5 or /MQL4 can be root. You can have several root directories, for example, /MQL5/Experts and /MQL5/Images.

  • The MQL5 Storage only works with the following types of files: mq4, mq5, mqh, cpp, h, bmp, wav. Other types of files cannot be added to the repository.
  • Files larger than 64 MB cannot be added to the storage.

Adding to the Repository

To add a folder or file in the repository, select it and execute the +

Add to Storage" command. This will bring up a dialog box showing the list of folders and files to be added.

Files are added locally. To send changes to the repository, execute the

....

 

...

 

...

 

...

 

...



Sergey Golubev
Moderator
107259
Sergey Golubev  

Just some reminding about how to insert code to the post (for new users/newbies) - read here, and read whole the article: MQL5.community - User Memo 

You can now not only read articles and download MQL5 programs, but you can also join discussions on theforum, leave comments on articles and source codes, rate MQL5 programs and share your own developments in theCode Base, and even publis harticles for a decent fee (see Become an Author at MQL5.com!).

MQL5.com services are constantly advancing, so we hope you will become our regular visitor. In order for your communication to be useful and comfortable, we ask you to adhere to some basic rules.

1. Profile Setup
2. Messages Editor
3. Favorites
4. Personal Messages
5. Service Desk
6. Jobs and Payments
7. Market
8. Signals
9. RSS
10. Rating
11. MQL5 Storage


Sergey Golubev
Moderator
107259
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

Freelance, Market and Signals minimum prices rise to 30 USD from July 15th 2017

MetaQuotes Software Corp., 2017.06.20 09:41

The popularity and turnover of mql5.com paid services keeps growing, which is undoubtedly a positive trend. Traders are willing to pay for goods and services in the MQL5 Freelance, Market and Signals, and the revenue of successful sellers, signal providers and application developers is growing.

While supporting the operation of these services, the MQL5.community payment system has been covering costs associated with commissions on micro-transactions connected with payments for the services. The current minimum price adjustment accounts for the above costs.

From July 15th 2017, the minimum price for a product offered through the Market, a Signal subscription or a Freelance job will be raised to 30 USD.

Changes will not affect current prices for existing Market products and Signal subscriptions. The new minimum price will only be applied to newly created or modified products and signals. The monthly rental fee limitation in the Market and Virtual Hosting services remains at 10 USD. We still do not charge any fee for depositing funds to mql5.com accounts.

We hope that MQL5.community users are clear with the new pricing policy and the reasons for price changes. Thank you for understanding.


Sergey Golubev
Moderator
107259
Sergey Golubev  

Find a Server by the Broker's Name

Another convenient new feature of MetaTrader 5 is adding brokers' servers by their names. With the previous version, you had to contact your broker to find out the IP address of the trade server or download a special client terminal. Now, you simply enter the name of the broker. The system automatically finds the server with the specified name and adds it to the list.

Open an Account - Getting Started - MetaTrader 5 Help
Open an Account - Getting Started - MetaTrader 5 Help
  • www.metatrader5.com
Two types of accounts are available in the trading platform: demonstration (demo) and real. Demo accounts provide the opportunity to work in a...
Sergey Golubev
Moderator
107259
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

MetaTrader 5 mobile web platform with the Depth of Market officially released

MetaQuotes Software Corp., 2017.06.21 12:11

We have released a new version of the MetaTrader 5 mobile web application for trading Forex and world exchanges. The main innovation of the updated version is the Depth of Market feature.

Now, MetaTrader 5 Mobile Web provides all the necessary tools for trading in a mobile browser, including the full set of trading orders, technical indicators and Depth of Market.

MetaTrader 5 mobile web platform with the Depth of Market officially released

The MetaTrader 5 mobile web version is of particular interest for brokers, since the program can be easily integrated into websites and applications. This means that traders are able to access the MetaTrader 5 web platform directly from a broker's website.  

Launch the mobile web platform from your smartphone and evaluate the new features!


Sergey Golubev
Moderator
107259
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

How to Start with Metatrader 5

Sergey Golubev, 2016.11.30 21:14

Push notifications:
  • How do I know if someone has replied to the topic?
  • How to invite the person into the topic?

read this small thread with the explanation.