Gamestudio Links
Zorro Links
Newest Posts
How to continuing Zorro trading statistics after restarting VPS?
by Zheka
15 minutes 25 seconds ago
Entity Memory steigt ins Unendliche
by jcl
Today at 08:42
What are you working on?
by HellThunder
Today at 03:47
Strange behaviour
by alibaba
Yesterday at 22:58
Recoil + aftershock + proper bullet creation
by 3run
Yesterday at 20:21
How to do a windows update on vps?
by mcteilchen
Yesterday at 13:57
Some general questions
by easyX
Yesterday at 00:28
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
14 registered (preacherX, jenGs, DMB, Lobo, firecrest, JoFo, sivan, Dbat, MasterQ32, 1 invisible), 480 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
byano, Tuguldur717, jmgrnt7, AGI, Materz
17831 Registered Users
Topic Options
Rate This Topic
#465243 - 04/13/17 22:43 reproducing the trend test from "financial hacker"
DeusExMachina Offline
Newbie

Registered: 04/03/17
Posts: 5
Hi,

I downloaded the Script2015 package and try to reproduce the tests done by jcl. But when I use the bootstrap script after running the batch file for training, the resulting graphics is this:

It does not at all look like the histogram in the blog:



Zorro output is
Code:
Best of 1260 systems
TrendHMA_EURUSD_H4_1_1: 1.28
Bootstrap - please wait..
Sample median: 1.27
P-Value of best strategy: 0.43




can anyone explain that and show me where I went wrong?


Edited by DeusExMachina (04/13/17 22:45)

Top
#465259 - 04/14/17 18:39 Re: reproducing the trend test from "financial hacker" [Re: DeusExMachina]
firecrest Online
Newbie

Registered: 12/06/16
Posts: 45
Hi
I am wondering if you can change this line item and check out the result.

#define BUCKET 0.0005

Top
#465282 - 04/15/17 09:12 Re: reproducing the trend test from "financial hacker" [Re: firecrest]
DeusExMachina Offline
Newbie

Registered: 04/03/17
Posts: 5
Hi firecrest. I tried that
Code:
#define CURVES	1260
#define SAMPLES	1000
#define BUCKET	0.0005


But the result looks the same as above. Seems like BUCKET is not really used in the Histogram, but Bucket instead:

Code:
void _plotHistogram(string Name,var Value,var Step,int Color)
{
  var Bucket = floor(Value/Step);
  plotBar(Name,Bucket,Step*Bucket,1,SUM+BARS+LBL2,Color);
}



To be honest, I really have difficulties understanding the bootstrap script.

Top
#465283 - 04/15/17 11:55 Re: reproducing the trend test from "financial hacker" [Re: DeusExMachina]
DeusExMachina Offline
Newbie

Registered: 04/03/17
Posts: 5
I started again from the beginning to do everything step by step in Trend Indicators .
If I wanna generate



and just copy paste the source code provided by jcl and run it, the resulting graphics is:



Again, I did not code anything, just ran the provided script in zorro 1.54.
This should exactly reproduce the same result. Any ideas?


Edited by DeusExMachina (04/15/17 11:56)

Top
#465393 - 04/24/17 13:56 Re: reproducing the trend test from "financial hacker" [Re: DeusExMachina]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 25979
Loc: Frankfurt
Too small histogram: Check if only one of the 10 indicators or only one of the assets was selected. Using data from all indicators and all assets should produce a broad histogram as in the article.

Too small chart: Increase MaxBars.

Top



Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net