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
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.
Arranging a mailing campaign by means of Google services
A trader may want to arrange a mailing campaign to maintain business relationships with other traders, subscribers, clients or friends. Besides, there may be a necessity to send screenshots, logs or reports. These may not be the most frequently arising tasks but having such a feature is clearly an advantage. It would be definitely difficult or even outright impossible to use convenient MQL tools here. At the end of the article, we will get back to the issue of using exclusively MQL tools to solve this task. Until then, we will use the combination of MQL and C#. This will allow us to write the necessary code relatively easily and connect it to the terminal. Besides, it will also set a very interesting challenge related to this connection.
The article is intended for beginner and mid-level developers who want to deepen their knowledge of writing libraries and integrating them with the terminal, as well as become more familiar with Google services.
MetaTrader 5 build 2121 (beta) -
The thread about this beta build is rus part of the forum: https://www.mql5.com/ru/forum/320777
Forum on trading, automated trading systems and testing trading strategies
MetaTrader 5 build 2121: New design of the strategy tester
Vladimir Karputov , 08/08/24 14:17
The following test icons are now available:
in the tests themselves, a new item appeared "profit in pips":
I continue to inspect and probe further ...
Forum on trading, automated trading systems and testing trading strategies
MetaTrader 5 build 2121: New design of the strategy tester
Renat Fatkhullin , 08/08/24 14:27
This is still beta, we will repeatedly change the tester's interfaces.
Today we will begin public tests of build 2122 on our MetaQuotes-Demo, and the release will be in early September.
MetaTrader 5 build 2121 (beta) -
The thread about this beta build is rus part of the forum: https://www.mql5.com/ru/forum/320777
Dear Sergey.
Are the upcoming changes in the strategy tester going to be compatible with custom configuration startup files, since no new commands are added so far?
Kind regards
Dear Sergey.
Are the upcoming changes in the strategy tester going to be compatible with custom configuration startup files, since no new commands are added so far?
Kind regards
I think - they are changing the strategy tester from one beta build to an other ... so it is not a final one.
Forum on trading, automated trading systems and testing trading strategies
MetaTrader 5 build 2121: New design of the strategy tester
MetaQuotes Software Corp. 2019.08.08.30 21:14
The beta version of MetaTrader 5 build 2129 is available.To update the MetaTrader 5 platform up to build 2129, login to MetaQuotes-Demo server and navigate to Help \ Check Desktop Updates \ Latest Beta Version.
Forum on trading, automated trading systems and testing trading strategies
they should really make a Mql5 book in order to MT5 suceed
honest_knave, 2017.01.22 14:59
English: https://www.mql5.com/files/pdf/mql5.pdf
Portuguese: https://www.mql5.com/files/pdf/mql5_portuguese.pdf
I am a newbee and how to you get a data signal on Meta 5
Meta 5 is Metatrader 5 as I understand.
And what is data signal?
As I understand - you need the following information -
Forum on trading, automated trading systems and testing trading strategies
New to Trading
Sergey Golubev, 2019.09.07 12:30
Please, find some information below -
1. MQL5.community - User Memo
2. Where Do I start from?
https://www.mql5.com/en/forum/212020
3. MetaTrader 5 Help - Trading Platform — User Manual
4. How to make a search on the forum
https://www.mql5.com/en/forum/193510
5. MetaTrader 5 Help - Open an Account
6. Find a Server by the Broker's Name:
https://www.mql5.com/en/forum/214820
Forum on trading, automated trading systems and testing trading strategies
New MetaTrader 5 platform build 2170: MQL5 scope, global Strategy Tester and built-in Virtual Hosting updates
MetaQuotes Software Corp., 2019.10.03 15:18
The MetaTrader 5 platform update will be released on Friday, October 4, 2019 The new version features the following changes:
In earlier versions, Virtual Hosting functions were available in the context menu of the Navigator window. Now all the necessary information and control commands are conveniently arranged under the "VPS" tab:
Basic subscription information appears on the left side:
Using the Start/Stop button, the virtual terminal can be quickly started or stopped.
Data about hosting server hardware and CPU consumption charts are displayed in the right hand side window section. Based on the displayed information, you will be able to respond in a timely manner if your Expert Advisor or indicator utilizes excessive memory or CPU time.
Information about the last trading environment migration as well as migration commands are also available here. These commands enable fast environment migration after purchasing a subscription.
A virtual platform can be rented from the "VPS" tab. The renting process has not changed and it is still fast and easy. You only need to select a plan and a suitable payment method. The best server for connecting to your broker will be selected automatically.
There is no need to search for appropriate functions in a trader's room on the broker site. Fast navigation commands are available directly in terminals: in the accounts menu in Navigator and in Toolbox > Trade tab:
Category
The property is used for additional marking of financial instruments. For example, this can be the market sector to which the symbol belongs: Agriculture, Oil & Gas and others. The category is displayed only if the appropriate information is provided by the broker.
Exchange
The name of the exchange in which the security is traded. The category is displayed only if the appropriate information is provided by the broker.
Commissions
Information on commissions charged by a broker for the symbol deals. Calculation details are displayed here:
For example, the following entry means that a commission is charged immediately upon deal entry and exit. If the deal volume is between 0 to 10 lots, a commission of 1.2 USD is charged per operation. If the deal volume is between 11 to 20 lots, a commission of 1.1 USD is charged per each lot of the deal.
0 - 10 | 1.2 USD per deal
11 - 20 | 1.1 USD per lot
Example: Code contains declaration of two structures with the same name even though they belong to different classes. In earlier versions such a declaration produced a compilation error: "identifier already used". Now this code will be successfully compiled and executed. For a proper access to the desired variable/structure/function from outside of its scope, you should specify a class (in this case it is CBar::Item).
Added namespace support which provides more possibilities when using third-party code/libraries in MQL5 applications.
Upon execution the following result is displayed as output:
2019.09.18 13:39:35.949 TestScript (AUDCAD,H1) NS::func
2019.09.18 13:39:35.949 TestScript (AUDCAD,H1) C::C
2019.09.18 13:39:35.949 TestScript (AUDCAD,H1) NS::C::C
In this example, the compiler will return errors for "a1=a2" and "b1=b2":
function 'void A::operator=(const A&)' was explicitly deleted here
attempting to reference deleted function 'void B::operator=(const B&)'
function 'void B::operator=(const B&)' was implicitly deleted because it invokes deleted function 'void A::operator=(const A&)'
There are three main methods to close a position:
In the below Expert Advisor code,input parameters are grouped according to their purpose:
When such an Expert Advisor is launched in the Strategy Tester, input parameter blocks can be collapsed or expanded by a double click on the group name, as well as all parameters within a group can be selected for optimization with a single check box.
In earlier versions, the following error returned during compilation:
Now, instead of the error, the built-in MQL5 function with a higher priority will be used by default. The imported function can be called by explicitly specifying the scope:
Start page
Now, after tester launch, instead of multiple settings the user sees a list of standard tasks, by selecting which they can quickly start testing. The new design is primarily intended for unexperienced users.
We have selected the most frequent strategy testing and optimization tasks and we have added them in the start page. In addition, one of the previously performed tasks can be restarted from the start page. If you have run a lot of tasks and they do not fit into the start page, use the search bar. You can find a test by any parameter: program name, symbol, timeframe, modeling mode, etc.
Hiding irrelevant parameters
After selecting a task, the user proceeds to further testing parameters: selection of an Expert Advisor, symbol, testing period, etc. All irrelevant parameters which are not required for the selected tasks are hidden from the setup page. For example, if mathematical calculations are selected, only two parameters should be specified: selection of a program to be tested and the optimization mode. Testing period, delay and tick generation settings will be hidden.
Convenient testing setup
For convenience some of the parameters on the setup page have been rearranged. Extended explanations have been added for the delay and visualization parameters. In addition, testing settings can now be saved and uploaded manually, and thus a trader can quickly return to previous settings.
Using the same tab you can quickly open the program for editing in MetaEditor.
Profit calculation in pips
Using the settings, you can enable profit calculation in pips. This mode accelerates testing while there is no need to recalculate profit to deposit currency using conversion rates (and thus there is no need to download the appropriate price history). Swap and commission calculations are eliminated in this mode.
Please note that when calculating profit in pips, the deal volume does not matter. Only the number of won/lost pips is calculated for each deal. Also margin control is not performed in this mode. Use it only for quick and rough strategy estimation and then check the obtained results using more accurate modes.
General improvements
Testing start/stop button and progress bar have been moved to the tabs bar. Thus, the user can control the process from any Strategy Tester section. Testing start/stop commands have also been added to context menus of settings and inputs sections.
In earlier versions, executed task results were saved to files only when optimizing Expert Advisors. Now, cache files are also saved during single tests, using which users can return to previous calculations and view statistics, balance, equity and deposit loading graphs, at any time. In future releases, this option will enable comparison of testing results.
To load previous test results, use the new Tester start page: click "Previous results" and select the desired site:
The MetaEditor includes a built-in code styler, which enables automatic formatting of program text in accordance with the adopted standard. Now in addition to common style, you can use other popular standards. To do this, open MetaEditor settings and select the desired style:
The following parameters can be additionally set for the styler:
Spaces per indent
Sets the number of spaces used in aligning of nested constructions:
Replace tabs with spaces
If this option is enabled, the styler will replace all tabs in the code with spaces. The number of characters per tab is set in the General section.
Delete empty lines
When this option is enabled, the styler will delete all lines having only a line break character.
Insert spaces after commas and semicolons
When this option is enabled, the styler will visually separate constructions with element enumerations. Example:
Insert spaces around declaration operators
When this option is enabled, the styler will insert spaces around the assignment, equality, comparison, and other operators. Example:
The platform interface is now available in 50 languages, which are spoken by more than 4 billion people.
To set you language for the interface, navigate to the "View / Language" menu at the top of the terminal.
The update will be available through the Live Update system.