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
Read the discussion.
Holes have nothing to do with it. All trades are shifted by one bar regardless of the day of the week or time of day. There is a problem with synchronisation of quotes in the open price testing mode. When testing using the tickwise mode, trades are placed at required nests and everything works. But static testing takes much time for me. I do not know about others but optimization in tick-testing is simply impossible because of the great amount of time.
Ok, the way is not about the hole, although they will also have an impact... According to the above code, isn't it the case that the ticks of a new GBPUSD bar always (usually) come later than the ticks of a new EURUSD bar, and then just one bar shift in the Bars function, depending on whether it is called by its own or someone else's symbol? When there is a test for a new GBPUSD bar from EURUSD chart, the new GBPUSD bar is not there yet, although EURUSD is. This is a testing feature based on opening prices.
It's quite possible. I don't know if it's a feature or not, but it's definitely a bug. Even if the tester detects GBPUSD bar closing from EURUSD chart with one bar delay, everything would work fine if trades were placed on the same delayed bar, not one bar later. Judging by the lack of response since June, the administration apparently doesn't think it's a mistake.
If the optimized indicator contains the profit factor, the tester uses the value of infinity 1.#INF (1.#J) if there are only profits and no losses. At the same time, the optimization chart "goes crazy" and shows a blank. Who solves this problem? Or may I need to write to Service Desk?
Ok, the way is not about the hole, although they will also have an impact... According to the above code, isn't it the case that the ticks of a new GBPUSD bar always (usually) come later than the ticks of a new EURUSD bar, and then just one bar shift in the Bars function depending on whether it is called by its own or someone else's symbol? When there is a test for a new GBPUSD bar from EURUSD chart, the new GBPUSD bar is not there yet, although EURUSD is. It's a testing fixture on the opening prices.
Holes have nothing to do with it. All trades are shifted by one bar regardless of the day of the week or time of day. There is a problem with synchronisation of quotes in the open price test mode. When testing using the tickwise mode, trades are placed at required nests and everything works. But static testing takes much time for me. I do not know about others but optimization in tick-testing is simply impossible because of the great amount of time.
By the way, I have applied for error of quotes synchronization in multicurrency back in June of this year. There have been a couple of updates to the terminal, but the error is still not fixed.
The "at open prices" mode has many architectural constraints, which was warned about in advance.
In your case, use M1 OHLC mode with new bar check (as it is done in our example Moving Averages)
This is about modelling opening prices. There are no ticks at all.
You did not understand what I said. The bars are obtained by ticks, with the actual time of bar formation coinciding with the time of the first tick in it.