When backtesting (using the tick method) the highs and lows on other timeframes get all screwed up. Is there any work-around to resolve this? My EA uses various timeframes at the same time, and it needs the highs and lows to be correct.
- Higher Timeframe Data.
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- From theory to practice
Use Period Converter to created the other time-frames from your m1_data. That way they should sync.
Jasus5457: When backtesting (using the tick method) the highs and lows on other timeframes get all screwed up.
There are no mind readers here - "all screwed up" means nothing.
Most likely, you are not using the correct shift value - post your code.
ubzen:
Use Period Converter to created the other time-frames from your m1_data. That way they should sync.
Use Period Converter to created the other time-frames from your m1_data. That way they should sync.
I did that following this guide https://www.forex-tsd.com/indicators-expert-systems-tools/979-using-period-converter-script.html, and it still doesn't work. It's not a problem with my code on the shifts, because it works just fine when I put it on a live chart.
Jasus5457:
I did that following this guide https://www.forex-tsd.com/indicators-expert-systems-tools/979-using-period-converter-script.html, and it still doesn't work. It's not a problem with my code on the shifts, because it works just fine when I put it on a live chart.
I did that following this guide https://www.forex-tsd.com/indicators-expert-systems-tools/979-using-period-converter-script.html, and it still doesn't work. It's not a problem with my code on the shifts, because it works just fine when I put it on a live chart.
You must be doing it wrong . . .
Try this method, followed to the letter, I know it works.
RaptorUK:
You must be doing it wrong . . .
Try this method, followed to the letter, I know it works.
How do I open MetaTrader disconnected from the broker? And the data I import is M1 data from the broker, in the history center?
Jasus5457:
How do I open MetaTrader disconnected from the broker? And the data I import is M1 data from the broker, in the history center?
How do I open MetaTrader disconnected from the broker? And the data I import is M1 data from the broker, in the history center?
Login with an invalid user ID.
The data comes from MetaQuotes not your Broker so you can do it while disconnected from your Broker.
Jasus5457: and it still doesn't work. It's not a problem with my code on the shifts, because it works just fine when I put it on a live chart.
You are ASSUMING that the tester adjusts the shifts of other pairs, it doesn't. It only shifts the current chart (shift 0 is start of test.) Also other pairs are limited by max bars in chart.
RaptorUK:
Login with an invalid user ID.
The data comes from MetaQuotes not your Broker so you can do it while disconnected from your Broker.
Ok, I did that but it didn't download anything. The progress bar showed up, and it went until the end, but I still have 0 bars in history.
WHRoeder:
You are ASSUMING that the tester adjusts the shifts of other pairs, it doesn't. It only shifts the current chart (shift 0 is start of test.) Also other pairs are limited by max bars in chart.
What do you mean? The EA only uses highs, lows and closes on different timeframes on the same pair, it doesn't use different pairs.
You are ASSUMING that the tester adjusts the shifts of other pairs, it doesn't. It only shifts the current chart (shift 0 is start of test.) Also other pairs are limited by max bars in chart.
Jasus5457: I did that following this guide https://www.forex-tsd.com/indicators-expert-systems-tools/979-using-period-converter-script.html, and it still doesn't work. It's not a problem with my code on the shifts, because it works just fine when I put it on a live chart.
Try using my guide.
Jasus5457:
Ok, I did that but it didn't download anything. The progress bar showed up, and it went until the end, but I still have 0 bars in history.
Did you follow the instructions ? did you check for the hst files ? did you open a M1 chart ?Ok, I did that but it didn't download anything. The progress bar showed up, and it went until the end, but I still have 0 bars in history.
I just downloaded 5 years of GBPCHF M1 daat while being disconnected from my Broker . . .
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