optimize on M1 today's data ?
When running on the Strategy Tester
the optimization results are up to yesterday even if you mark the today/next day in Custom period.
How to optimize on M1 today's data ?
You can create a custom symbol based on the original symbol but with timestamps (for all ticks) shifted to 1 day left, then use it for optimization. Of course, this will not work for stategies looking into economic calendar (unless you make a tweaked copy of the news array as well).
Thanks, the custom symbol data is deleted after importing/requesting and clicking ok , how to save it ?
Please, describe you procedure and exact settings, because custom symbol should be imported normally if created from its original.
Also if you edited tick data (for adjusting time marks) you could probably corrupt data formatting or consistency somehow. Try with a small subset of data first and make sure it works.
Please, describe you procedure and exact settings, because custom symbol should be imported normally if created from its original.
Also if you edited tick data (for adjusting time marks) you could probably corrupt data formatting or consistency somehow. Try with a small subset of data first and make sure it works.
Symbols > Ticks > Request > The ticks are loading > ok
2.
Symbols > Ticks > The table is empty
1.
Symbols > Ticks > Request > The ticks are loading > ok
2.
Symbols > Ticks > The table is empty
Follow the procedure below, and identify the step(s) that you're having issues with:
- www.metatrader5.com
1.
Symbols > Ticks > Request > The ticks are loading > ok
2.
Symbols > Ticks > The table is empty
It seems you're doing something strange. If you want it done manually, then open Symbols dialog, choose required original symbol, request bars and/or ticks for required time range and then press Request. Please note that the dialog may apply limitations for the number of bars/ticks returned (actual range is indicated), that is you'll not receive all requested data - this is how MT5 works. Then press Export Bars or Export Ticks button at the bottom left corner of the dialog. This will produce a csv-file with the history.
To create a custom symbol manually you can press Create Custom Symbol button, then use Copy from drop down box to choose required original symbol (for proper specification initialization). After this you need to choose the custom symbol in the dialog and press Import bars or Import Ticks button, and choose a CSV-file from disk.
Please note that if you want to prepare the custom symbol for tests on "today" day, you need to edit the timestamps in the CSV-files accordinginly - that is subtract 1 day from all dates.
I think it's a bit complicated to edit the big data without some sort of automation. So...
It's much more simple to create and populate the custom symbol programmaticaly by a script in MQL5.
It seems you're doing something strange. If you want it done manually, then open Symbols dialog, choose required original symbol, request bars and/or ticks for required time range and then press Request. Please note that the dialog may apply limitations for the number of bars/ticks returned (actual range is indicated), that is you'll not receive all requested data - this is how MT5 works. Then press Export Bars or Export Ticks button at the bottom left corner of the dialog. This will produce a csv-file with the history.
To create a custom symbol manually you can press Create Custom Symbol button, then use Copy from drop down box to choose required original symbol (for proper specification initialization). After this you need to choose the custom symbol in the dialog and press Import bars or Import Ticks button, and choose a CSV-file from disk.
Please note that if you want to prepare the custom symbol for tests on "today" day, you need to edit the timestamps in the CSV-files accordinginly - that is subtract 1 day from all dates.
I think it's a bit complicated to edit the big data without some sort of automation. So...
It's much more simple to create and populate the custom symbol programmaticaly by a script in MQL5.
Your recommendation is strange, no wonder the OP is doing strange things.
It seems you're doing something strange. If you want it done manually, then open Symbols dialog, choose required original symbol, request bars and/or ticks for required time range and then press Request. Please note that the dialog may apply limitations for the number of bars/ticks returned (actual range is indicated), that is you'll not receive all requested data - this is how MT5 works. Then press Export Bars or Export Ticks button at the bottom left corner of the dialog. This will produce a csv-file with the history.
To create a custom symbol manually you can press Create Custom Symbol button, then use Copy from drop down box to choose required original symbol (for proper specification initialization). After this you need to choose the custom symbol in the dialog and press Import bars or Import Ticks button, and choose a CSV-file from disk.
Please note that if you want to prepare the custom symbol for tests on "today" day, you need to edit the timestamps in the CSV-files accordinginly - that is subtract 1 day from all dates.
I think it's a bit complicated to edit the big data without some sort of automation. So...
It's much more simple to create and populate the custom symbol programmaticaly by a script in MQL5.
It turns out that the imported data into the custom symbol is saved as .tkc file even though it is not displayed in the user interface.
Thanks again for the detailed answers .
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
When running on the Strategy Tester
the optimization results are up to yesterday even if you mark the today/next day in Custom period.
How to optimize on M1 today's data ?
Thanks in advance