Data Horizon

Data Horizon

The dialog window “Data Horizon” serves to set limits on the historical data. These conditions are valid for the loaded data only. They do not concern the original files.

It becomes useful if you are conducting a “future test in the past”. For example, you do not allow loading of last month's data; you build your strategy and afterward cancel the limitation. If the direction of the balance line remains the same, it means that the strategy is (probably) not over optimized.

How to Use

Data Horizon - usage

  1. Set the Maximum number of data bars. This is the leading parameter.
  2. Set start date (“Remove data older than:” parameter).
  3. Set end date (“Remove data newer than:” parameter).
  4. If the testing bar number appears lower than 300, rule 2 or 3 can be ignored.
1)
You can increase this limit by editing the config.xml file of the program. It is located in the System folder. Edit these parameters:
   <MIN_BARS>300</MIN_BARS>
   <MAX_BARS>50000</MAX_BARS>
   <MAX_INTRA_BARS>50000</MAX_INTRA_BARS>
:!: Forex Strategy Builder was tested with 500000 bars but it becomes much slower and also an “Out of memory” error may arise.