Sending Offline Chart to Strategy Tester (25% model)
OfflineTestHelper is a simple script that helps with a simple testing strategies, nested in offline charts. The testing quality is displayed as 25%, though it highly depends on the original chart fidelity.
The Strategy Tester included in the Terminal only allows picking testing timeframes from a drop-down menu, which contains standard values M1, M5 etc. On the contrary, the offline charts never can have such timeframe value in a live terminal.
The script replaces one of the standard timeframes by the offline chart. It works with an artificial broker to prevent the refresh of such chart with on-line data.

Input Dialogue
Input lets you decide for alternative server name. It is useful, when you prepare multiple offline charts for testing, preserving all of them for later use. Otherwise keep the default.
The second option would systematically overwrite the candle open value by a close value of the preceding candle. Use this settings for offline charts with displacement of the open price, like a reversal candle on Renko charts has.

Result Dialogue
The First Steps
Watch the video from Theo on how to use the Helper with the offline chart.
What does the helper after dropping on a chart:
- Creates a virtual server folder. Absence of the on-line server will prevent the terminal from updating any chart.
- Copies essential Metatrader data to the new server folder (instrument list with latest quotes).
- Creates a copy of the current offline chart.
- Set its timeframe to M1.
- Removes zero-volume candles (they are not compatible with the tester).
- Stores the new chart into the virtual server folder.
Then it displays a result dialogue. You have a chance to stop the script now.
When you decide to stop, your data is prepared for use with any MT4 terminal instance. You may copy/move your virtual server folder to another terminal for testing, login into the virtual server in the other terminal.
When you decide to continue with the Restart, your current terminal instance will be used for testing. It will force the entire MT4 terminal restart.
- The terminal shuts down, unbinding current server data.
- Terminal starts with the virtual server “test”, the connection status remains “Disconnected”.
- Ignore whatever you see in the charts in front of you. Switch to Strategy Tester (ctrl+R) by hand.
- Pick symbol of your converted chart.
- Pick M1 timeframe (your offline chart is stored as M1).
- Pick your strategy.
- Test.
- If you finished testing, log-in back to your original account&server (double click your previous account in the Navigator).
Hi
I dragged the helper onto an offline chart and so the pop up opened and i clicked ok. No login box appeared and it just closed to restart. When it did restart it opened up the mt4 and had a blank white screen. When you try to click anything like file it would say (not responding) in the top left corner and you would then be forced to close it. After that if i were to open the mt4 again it would do the same thing. When i open mt4 i can’t click anything without it saying not responding. No idea what to do…
Hello Cingard, just copy&pasting the above text: If you finished testing, log-in back to your original account&server (double click your previous account in the Navigator).
Okay thanks i got it working. I found a video on the tubes that helped me out a bit. Thanks
hi milan i did what the tutorial video has shown but still is not working , can i get some help thank you….
when load script it does not ask about server just close mt4 and restart as i load script..?
Yes, it uses the default “test” server name now. I was in doubt that any body really needed to have multiple test server names, so I skipped the entry. You may still log and restart into other test server manually.
how can I back test renko chart without loss some tick? because this renko test helper some time it loss some tick wild i back testing. Please help me be cause I buy your product (Renko Key) 2 times because it work great renko no wick chart I love your product sooo much it help full for me. Now I want to back testing my EA with very close reality. Thank you so much sir.
For more authentic testing in the MT4 tester you should use rather FXT Builder than Offline Test Helper (which does nothing more than saves the chart to M1).
I love the Mean Renko bars and this script makes it SOO SIMPLE to backtest inside MT4. Thanks Milan and team !!!!
I have followed the steps, it doesn’t seem to work. i get the waiting to update, then i hear the duck noise and nothing.
Is there a way to test the mean renko’s with different brick times. like the 60,120, etc. I am not really understanding when i see the tester if it is working on the brick frame i have set on the chart before it went offline.
This script can copy the current chart to M1 and disable the M1 chart updates by going offline, that’s all.
Hi,
Is there a way to test other timeframes other than M1 like H1. I woudl like to test something for 3 line break charts.
Hi Milan,
Could you please advise if back testing is possible with two Range charts with sizes like 5 and 15 pips
Cheers
Do you have to have the Trade Manager to use this?
i need 10 min chart plz help me
i need 10 min chart for my company
Hello kunal, then consider and optionally try for free the FlexiBar indicator.
it says that the file is damaged and I can’t pull it up on in winware
Mediolan,
I bought your product “Renko bars” but now I would like to test ea on tester.
Can you explain:
1. Why “Offline Backtest Helper” generates a 10pips size of renko? I need renko 15pips. How can I get it ?
2. How can I use a different size bricks at the same time. e.g
When I using M1 (10pips) I have to check renko 15pip (which can be e.g. on another 15M chart).Is it possible ?
3. How to get modeling quality 99%?? Modeling 25% gives completely different results on the real market :((
Thank you for response
Reply to my email if you can.
hi Milan,
I used the script on MT4 build 1220, it showed the box with ok, but without a login window, closes the mt4 and when I close and relaunch the mt4, and log in manually and then close and relaunch, it’s still connected to the main trading server and not showing the offline chart in M1
How to solve this? Thanks
Hello,
I can only test 2 weeks back. In what settings can I change to be able to test 6 months back?
Add some more bars to the Omniabars when you build the original chart
Hi Ovo, reading the above, the script is supposed to work on all MT4 builds from 509 onwards, my MT4 version is Build 1260 (Jan 24 2020) but I also am getting the error message ‘Unsupported legacy hst version . Use b509’. Have I missed something?
Hi Milan hope your coping in the lockdown,
I have been using your offline helper many times for testing EA its great, I recently attempted to try manual back testing and came across a problem, I could not find 1 trade panel that would operate on a tick chart in tester, many advised I was using a live account and all that did run would not operate or allow a size to be entered. Any advice please Happy Pips Photize
how to correct it for backtest ” some file failed to copy to the test account (probably a very fresh mt4) you can still run test s in this account(without enhancedfunctionlity)
ticks.raw copy failed