Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, howardR), 452 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Different result price distribution chart #472872
05/27/18 07:48
05/27/18 07:48
Joined: May 2018
Posts: 15
K
KadigunFx Offline OP
Newbie
KadigunFx  Offline OP
Newbie
K

Joined: May 2018
Posts: 15
For test, I run Distribution.c script in strategy folder.
the output result plot is not equal with plot in help file.

help file > main topics > trading strategies > EURUSD|EURCHF chart


what is the reason?

Re: Different result price distribution chart [Re: KadigunFx] #472900
05/28/18 20:48
05/28/18 20:48
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
What is different?

Re: Different result price distribution chart [Re: jcl] #472903
05/29/18 04:31
05/29/18 04:31
Joined: May 2018
Posts: 15
K
KadigunFx Offline OP
Newbie
KadigunFx  Offline OP
Newbie
K

Joined: May 2018
Posts: 15
Distributin EURUSD and EURCHF are different.
I get history from zorro download page and not change anything.

please see this URL (result and image from help file)

https://imgur.com/a/NbDz3UL


Last edited by KadigunFx; 05/29/18 04:35.
Re: Different result price distribution chart [Re: KadigunFx] #472905
05/29/18 08:05
05/29/18 08:05
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The CHF cap referred to in that image was lifted in 2015. Google: Swiss Franc Cap.

Re: Different result price distribution chart [Re: jcl] #472907
05/29/18 08:30
05/29/18 08:30
Joined: May 2018
Posts: 15
K
KadigunFx Offline OP
Newbie
KadigunFx  Offline OP
Newbie
K

Joined: May 2018
Posts: 15
Why Distribution.c script Does not give the same result in the help file?
for example see Max EURCHF (red bar) in two image(https://imgur.com/a/NbDz3UL) .

help file(first image) Max is : 850
result(second image) run Distribution.c script Max is: 1400

My question is how can we get the same result.

Re: Different result price distribution chart [Re: KadigunFx] #472910
05/29/18 11:06
05/29/18 11:06
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
You get the same result as in an old histogram when you set up the start and end dates, and the asset parameters accordingly for replicating the old market situation.

Re: Different result price distribution chart [Re: jcl] #472911
05/29/18 11:43
05/29/18 11:43
Joined: May 2018
Posts: 15
K
KadigunFx Offline OP
Newbie
KadigunFx  Offline OP
Newbie
K

Joined: May 2018
Posts: 15
If it is possible for you, share the data required for set up an old histogram.

in my test :

Code:
StartDate = 20110920; // First day of the CHF price cap
EndDate = 20150114; // Last day of the CHF price cap

EUR/CHF,1.07962,0.00004,0.08,-0.26,0.0001,0.09263,75,0,1000,0.8,  
EUR/USD,1.13795,0.00005,-0.02,0.01,0.0001,0.0871,10,0,1000,0.6,


Last edited by KadigunFx; 05/29/18 11:43.
Re: Different result price distribution chart [Re: KadigunFx] #472914
05/29/18 14:37
05/29/18 14:37
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Afraid I don't remember the date of that image, but it was certainly long before January 2015. You must experiment a bit.

Re: Different result price distribution chart [Re: jcl] #472920
05/29/18 18:17
05/29/18 18:17
Joined: May 2018
Posts: 15
K
KadigunFx Offline OP
Newbie
KadigunFx  Offline OP
Newbie
K

Joined: May 2018
Posts: 15
Yes that's right, it seems that EndDate is not January 2015.
Thanks,


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1