This article allows to find out more about features and limits of Strategy Tester in MetaTrader 4.
- Some functions are processed/passed without output
These are Sleep(), Alert(), SendMail(), PlaySound(), MessageBox(), WindowFind(), WindowHandle(), WindowIsVisible()
- Trading is permitted for the symbol under test only, no portfolio testing
Attempts to trade using another symbol will return error
- Lot sizes including initial size and increment step, commissions and swaps should be taken from the active account settings
Before testing, it is necessary to make sure that there is at least one activated account in the list in "Navigator" window of the terminal.
- All swaps, margin requirements, expirations, GTC-orders are modeled
Testing is performed maximally closely to trading server conditions. But the can occur some inaccuracies in estimation of margin requirements on cross currencies because of lack of precise information about conversion prices at each moment.
- Zero bar of another timeframe for the same symbol under test is modeled approximately
Open = correct Open, Close = correct Close, Low = min (Open,Close), High = max (Open,Close), Volume = final Volume (false)
- Instant Execution mode is assumed to be used in trades, being processed without slippage
- Processing orders, Open/Close without slippages
- Testing stops after StopOut
- Weekly, monthly, and irregular timeframes are not tested
- The deposit currency can be changed, but conversion prices are set, and the current available ones are used
- There are still no delays in execution of trade operations
A setup delay is planned to be introduced in processing of transactions
- Account History is fully available, and it does not depend on settings
- If other symbols and periods are actively used, it is desirable to download them to all possible depth
- At every-tick modeling, tester pumps all necessary timeframes for the symbol under test independently
- Using of MarketInfo function generates error ERR_FUNCTION_NOT_ALLOWED_IN_TESTING_MODE(4059), however, correct information about current prices for the symbol under test, about stop level dimensions, about point size, about spread size of any symbol being present in the quotes window is pr
- Nothing is output in the journal (either Print() function)
This was done in order to accelerate the testing and save disk space. If complete logs are output the journal files will need hundreds of MByte.
- Draw objects are not really set
The objects are disabled in order to accelerate the testing.
- "Skip useless results" function is used
In order not to garble the table and chart with testing results, the possibility to skip very bad results is used. This function can be enabled in context menu of "Optimization Results" -> "Skip useless results" tab.
With the new MT4 v1010, how do I load new indicators?
Many thanks,
Alan
With the new MT4 v1010, how do I load new indicators?
Many thanks,
Alan
Which new indicators?
Hello Sergey,
As in importing fresh indicators into the platform.
Just same - open MT4, in menu: File - Open Data Folder - MQL4 - indicators
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New MetaTrader 4 build 1010: New opportunities of MQL4
MetaTrader 4 platform update is to be released on Thursday, August 18, 2016. The new version features the following changes:
- Terminal: Fixed an error which prevented execution of MQL4 applications in terminals running in 32-bit Windows 10, build 1607.
- Terminal: Fixed occasional incorrect display of the Search and Chat buttons.
- Terminal: Fixed occasional duplicate welcome-emails delivered to the terminal when opening a demo account.
- MQL4:
Added new 'void *' pointers to enable users to create abstract
collections of objects. A pointer to an object of any class can be saved
to this type of variable. It is recommended to use the operator
dynamic_cast<class name *>(void * pointer) in order to cast back.
If conversion is not possible, the result is NULL.
- MQL4:
Added support for the operator [ ] for strings. The operator enables
users to get a symbol from a string by index. If the specified index is
outside the string, the result is 0.
- MQL4: The CopyXXX function that copies history and tick data has become faster.
- MQL4:
Fixed deletion of multiple graphical objects with the specified prefix
using the ObjectDeleteAll function. Before the update, the remaining
objects could be displayed in a wrong order after the execution of this
function.
- MQL4: Fixed occasional incorrect order of graphical objects display after changing the timeframe.
- Hosting:
During terminal synchronization with the virtual server, charts without
Expert Advisors are ignored now, even if custom indicators are running
on these charts. If you need to migrate a custom indicator, run it on
the chart of an "empty" Expert Advisor that does not perform operations.
Such an Expert Advisor can be easily generated using the MQL4 Wizard in
MetaEditor by selecting "Expert Advisor: template". This update is to
ensure that indicators are migrated on purpose.
- Hosting: You can
now synchronize Expert Advisors and custom indicators whose names
contain non-Latin characters (e.g. Cyrillic or Chinese characters).
- Fixed errors reported in crash logs.
The update will be available through the LiveUpdate system.