forex software

Create and Test Forex Strategies

forex software

express-generator:out-of-sample

Table of Contents

Out of Sample

Out of Sample settings select a percentage range from the loaded dataset.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Out of sample            ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Use these parameters to set the data range.
; The program cuts data after applying Data Horizon.
 
data_start_percent = 0
data_end_percent   = 100

Notes

  • Percent values are numeric.
  • This range is applied after Data Horizon settings.
  • 0 to 100 uses the whole post-horizon range.
  • data_start_percent moves the start of the usable range forward.
  • data_end_percent moves the end of the usable range backward.

The percentages are calculated over the Data Horizon output window. Example: if Data Horizon leaves 10,000 bars, then 70 to 100 keeps the last ~30% (about 3,000 bars).

Use this section when you want a single-run percentage split. For a two-run workflow (cap history first, then recalculate on full data), see Data Horizon.

Example profiles

Use only the last 30% of data:

data_start_percent = 70
data_end_percent   = 100

Use middle segment:

data_start_percent = 20
data_end_percent   = 80