Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
tick price #437931
03/01/14 17:45
03/01/14 17:45
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
My objective is to create a trading system using tick volume and also tick price to estimate a parameter needing as much prices as possible, hence a need a way to collect the price everytime it changes, does such a function exist in zorro ? So far I did not find any solution excepted maybe creating a shares files in which metatrader will store these tick data and zorro will read them in order to refresh the paramater every minute.

Re: tick price [Re: byakuren81] #437972
03/03/14 14:46
03/03/14 14:46
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
Yes, you can collect prices every tick - use a TMF of a phantom trade that never closes. The TMF runs every tick, and the TradePriceClose is the current tick price.

Only problem is that the historical price data is M1 data. So in the backtest you only get 1-minute ticks, unless you convert real tick data to the Zorro .bar format.

Re: tick price [Re: jcl] #438006
03/04/14 19:05
03/04/14 19:05
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
ok thx for the answer that was all I needed, as for the backtest I have the solution, I will estimate these parameters for each minute separately and will store their value somewhere before backtesting.

Re: tick price [Re: byakuren81] #438070
03/06/14 10:54
03/06/14 10:54
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
I would have another question regarding this problem. I would need the mid of the current bid/ask as a tick data corresponds a move of the mid, does TradePriceClose reflect this mid price ?

Re: tick price [Re: byakuren81] #438077
03/06/14 12:36
03/06/14 12:36
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
No, it's the Ask price. The mid price would be TradePriceClose - 0.5*Spread. The spread is also updated per tick.

Re: tick price [Re: jcl] #438078
03/06/14 13:14
03/06/14 13:14
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
great thats perfect thx a lot


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