Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Quad), 773 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Test period is smaller than asked #470786
02/06/18 15:31
02/06/18 15:31
Joined: Feb 2018
Posts: 1
G
guybrys Offline OP
Guest
guybrys  Offline OP
Guest
G

Joined: Feb 2018
Posts: 1
Hi,

I'm new with zorro. I was testing somewhat with the ehlers strategy that is included in the package. I would like to apply it on EUR/USD from 2002 to 2017. So I changed the first lines a bit to:

function run()
{
BarPeriod = 60;
asset("EUR/USD");
StartDate = 2002;
EndDate = 2017;
NumYears = 15;

vars Osc = series(StochEhlers(series(price()),20,40,10));

The output window says that the program is testing from 2002 to 2016, but when looking at the results the following is given:

Simulated account AssetsFix
Bar period 1 hour (avg 86 min)
Test period 2013-01-07..2018-01-26 (30584 bars)
Lookback period 80 bars (3 days)

So, it is only tested from 2013. Any help to fix this is greatly appreciated. The data are available in the history folder, from 2002 onwards in the same format (t6), downloaded from the zorro website.

Best regards,

Re: Test period is smaller than asked [Re: guybrys] #470788
02/06/18 15:54
02/06/18 15:54
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
5 years is the default. Set any individual settings _before_ loading the asset, not afterwards.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1