MQL4 - automated forex trading   /  

Forum

Custom TimeFrame

Back to topics list To post a new topic, please log in or register

avatar
48
TT_FX1 2010.04.11 02:47 

Hi

I would like to know whether it is possible to test other timeframe at the strategy tester, currently the default settings for user to select are M1, M5, M15, M30, 1H, 4H 1Wk & 1 MTH. I can use a previod converter script to open a 1M chart from the offline chart to create a chart of other timeframe I wanted, let say 10 mins. But can we loaded this 10mins chart to the strategy tester for testing, any configure.ini file etc can be modified to add custom timeframe to the strategy tester..

Please Help.

Kim

Strategy Tester: Modes of Modeling during Testing

Strategy Tester: Modes of Modeling during Testing

Many programs of technical analysis allow to test trading strategies on history data. In the most cases, the testing is conducted on already completed data without any attempts to model the trends within a price bar. It was made quickly, but not precisely


avatar
4328
WHRoeder 2010.04.13 03:00 
I copied this from a discussion elsewhere on CRB (constant Range Bars)

HOW TO BACK TEST USING CRB:

1) go to the c:\Program Files\MetaTrader\history folder. You should
see subfolders with trading servers feeds.
2) make a new subfolder with the name CRB
3) go to one of your trading servers folders ( folder should be in history\xxxx_server) and copy the following files into
history\CRB folder:
- symbols.raw
- symbols.sel
- symgroups.raw
- ticks.raw
- 1 min data, e.g. EURUSD1.hst, GBPUSD1.hst, USDCHF1.hst, etc
4) start metatrader and manually log in into account but write CRB in
the server field, off course there will be no conection.
5) restart metatrader to clean its preloaded data (you should see
Waiting for update on all charts except 1 min.
6) drop CRB script on 1 min chart but now select a standard TimeFrame
to generate, for example 5 min.
7) Now you can backtest.
#6 was the indicator to generate the CRB history
RWIW
Back to topics list  

To add comments, please log in or register