Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 927 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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