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
4 registered members (AndrewAMD, SBGuy, TipmyPip, ozgur), 923 guests, and 6 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
N-Tick bars with Zorro free version #462024
09/04/16 17:27
09/04/16 17:27
Joined: Apr 2014
Posts: 45
Germany
webradio Offline OP
Newbie
webradio  Offline OP
Newbie

Joined: Apr 2014
Posts: 45
Germany
I'd like to experiment with N-Tick bars (when fixed number of ticks, e.g. 1000, are agregated into a bar, as opposed to time based bars). Only training and testing so far, no trading. Which implementation ways are feasible and which one is better? Zorro free instead of S would be preferred. Preservance of variable spread would be an advantage, too.

1a) Generate by external means .t6 files and place them into History folder.
Create e.g. 1000-tick bars already during the .t6 file generation.
Or, in order to be able to test with different tick counts, use 100-tick bars when generating .t6 files and, in Zorro, use the user-supplied bar() function to aggregate them further into 1000- or whatever tick count bars.
Is an irregular (and sometimes less than 1 minute) time interval o.k. for .t6 files? confused Also ok for Zorro free version?

1b) Same as 1a but use .bar format. But that one is superceeded if I understand it right.

2) Generate .t1 files to History folder. Use user-supplied bar() function to generate n-tick bars. T1 requires S, doesn't it?

3) Use Source\FXCMplugin.cpp as a template and create a pseudo-broker plugin. Provide BrokerHistory2() among other obligatory functions. Let Zorro "inhale" and store the T1 history. Sounds again like S version?

I'm aware of trenki2 and pcz posts but still uncertain.

Re: N-Tick bars with Zorro free version [Re: webradio] #462036
09/05/16 15:43
09/05/16 15:43
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
An irregular interval is ok, so variant 1a) could possibly work unless there's some problem I haven't thought of. Variant 2) would be the proper solution, but would require Zorro S.

Re: N-Tick bars with Zorro free version [Re: jcl] #462037
09/05/16 15:45
09/05/16 15:45
Joined: Apr 2014
Posts: 45
Germany
webradio Offline OP
Newbie
webradio  Offline OP
Newbie

Joined: Apr 2014
Posts: 45
Germany
that's a good news!
Does v1.46 support .t6 history of do I need to move on to the current beta?

Re: N-Tick bars with Zorro free version [Re: webradio] #462040
09/05/16 15:47
09/05/16 15:47
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You need the beta for .t6.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1