Analysis of test results and optimisation in the MetaTrader 5 strategy tester - page 11
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
When adding ticks to a Custom Symbol, it does not generate the bar data automatically. You have to generate and add that too.
Otherwise you would not able to use Custom Symbol to generate "Renko", "Constant Range Bars", "Constant Volume Bars", or any other type of custom charting.
If I perhaps misunderstood your question due to the automated translations, please let me know.
When adding ticks to a custom symbol, bar data is not automatically generated. You must generate and add them too.
Otherwise you will not be able to use Custom Symbol to generate "Renko", "Constant Range Bars", "Constant Volume Bars" or any other type of custom charts.
If I may have misunderstood your question due to automatic translation, please let me know.
Strange, I only loaded the ticks from the source into the custom tool, and immediately opened charts on it, they were all generated automatically. I loaded the ticks through the standard menu Ctrl+U.
At this point I just want to make sure that the tester will not use the method of "generating ticks from minute bars". And if these ticks are not available, so that it just skips the period for which there are no ticks, using only cash "real ticks".
And I am also interested in the question, in what cases the tester (in the "No Delay, Perfect Execution" mode), when executing stop and limit orders, uses the price specified in the order as the position opening price, and in what cases it still uses slippage to the nearest real price (according to tick or minute data). Since I have seen both such and such situation in the tester, and I need to understand in which cases it executes "perfectly", and in which cases it slips to the nearest tick.
Can you tell me what this error is?
I have seen this and this situation in the tester
My explanation was meant for when loading ticks via MQL5 code, not the via the user interface (i.e. Ctrl-U). However, I may be wrong, because I have not tested this on more recent builds of MetaTrader.
I have seen this before when the imported ticks do not have the "flags" properly set, and consecutive ticks have the same price quotes with no change between them. For example, when user load tick data from an external source that does not have the "flags" column defined. However, that is the only time I have seen that message. There may be other reasons.
When adding ticks to a Custom Symbol, it does not generate the bar data automatically. You have to generate and add that too.
Otherwise you would not able to use Custom Symbol to generate "Renko", "Constant Range Bars", "Constant Volume Bars", or any other type of custom charting.
If I perhaps misunderstood your question due to the automated translations, please let me know.
My explanation was meant for when loading ticks via MQL5 code, not the via the user interface (i.e. Ctrl-U). However, I may be wrong, because I have not tested this on more recent builds of MetaTrader.
Adding ticks to a custom symbol should always update or create corresponding bars properly. Usually you don't need to generate rates in addition to ticks. But you're right that you may need to fix special bars such as renko (because they are not standard bars).
If you see some cases it's not so, report a bug. Custom symbols in MT5 are errorprone unfortunately.
Please, note that MT5 is an async multithreaded thing, so I think it may take a fraction of time to autogenerate bars based on newly added ticks.
NB: read in English for the original post.
Please, note that MT5 is an async multithreaded thing, so I think it may take a fraction of time to autogenerate bars based on newly added ticks.
During the times that I have generated Custom Symbols from ticks, I never noticed any bars being generated automatically. Maybe I was not paying much attention, so I will do so next time to confirm. Thank you for the correction!
Original text in English!
During the times that I have generated Custom Symbols from ticks, I never noticed any bars being generated automatically. Maybe I was not paying much attention, so I will do so next time to confirm. Thank you for the correction!
Original text in English!
I don't remember anymore.