Oversampling factor of the simulation (default = 0 = no oversampling). When NumSampleCycles is set to a number n > 1, the simulation is repeated n times, and every time the bars are resampled with different BarOffset values. This generates a slightly different price curve for every cycle, while maintaining the trend, spectrum, and most other characteristics of the curve. The performance result is then calculated from the average of all cycles. This way more data for test and training is generated and a more accurate result can be achieved.


The number of the current cycle from 1 to NumSampleCycles. Automatically set by NumSampleCycles.





NumSampleCycles = 4; // 4 times oversampling

See also:

bar, BarOffset, NumWFOCycles, NumOptCycles, NumTotalCycles, ALLCYCLES


► latest version online