Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
reproducing the trend test from "financial hacker" #465243
04/13/17 20:43
04/13/17 20:43
Joined: Apr 2017
Posts: 5
D
DeusExMachina Offline OP
Newbie
DeusExMachina  Offline OP
Newbie
D

Joined: Apr 2017
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?

Last edited by DeusExMachina; 04/13/17 20:45.
Re: reproducing the trend test from "financial hacker" [Re: DeusExMachina] #465259
04/14/17 16:39
04/14/17 16:39
Joined: Dec 2016
Posts: 71
F
firecrest Offline
Junior Member
firecrest  Offline
Junior Member
F

Joined: Dec 2016
Posts: 71
Hi
I am wondering if you can change this line item and check out the result.

#define BUCKET 0.0005

Re: reproducing the trend test from "financial hacker" [Re: firecrest] #465282
04/15/17 07:12
04/15/17 07:12
Joined: Apr 2017
Posts: 5
D
DeusExMachina Offline OP
Newbie
DeusExMachina  Offline OP
Newbie
D

Joined: Apr 2017
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.

Re: reproducing the trend test from "financial hacker" [Re: DeusExMachina] #465283
04/15/17 09:55
04/15/17 09:55
Joined: Apr 2017
Posts: 5
D
DeusExMachina Offline OP
Newbie
DeusExMachina  Offline OP
Newbie
D

Joined: Apr 2017
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?

Last edited by DeusExMachina; 04/15/17 09:56.
Re: reproducing the trend test from "financial hacker" [Re: DeusExMachina] #465393
04/24/17 11:56
04/24/17 11:56
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1