Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 21,112 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
priceOpen(hour(0)) for Period = 60 #412799
12/03/12 12:03
12/03/12 12:03
Joined: Nov 2012
Posts: 6
N
NightWalker Offline OP
Newbie
NightWalker  Offline OP
Newbie
N

Joined: Nov 2012
Posts: 6
When I set Period = 60, shouldn't "priceOpen(hour(0))" point for the same price = daily open for all hourly bars in daily candle? I receive different values for every(!) run().


NightWalker
Re: priceOpen(hour(0)) for Period = 60 [Re: NightWalker] #412802
12/03/12 12:37
12/03/12 12:37
Joined: Jul 2000
Posts: 28,029
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,029
Frankfurt
If your script is correct, you should indeed get 24 times the same price.

Re: priceOpen(hour(0)) for Period = 60 [Re: jcl] #412810
12/03/12 16:04
12/03/12 16:04
Joined: Sep 2012
Posts: 74
Niedersachsen, Germany
P
PriNova Offline
Junior Member
PriNova  Offline
Junior Member
P

Joined: Sep 2012
Posts: 74
Niedersachsen, Germany
i don't thing so. usually NightWalker get the open-price of every finished hourly bar because he uses Period 60 and not 1440.

Last edited by PriNova; 12/03/12 16:07.
Re: priceOpen(hour(0)) for Period = 60 [Re: PriNova] #412832
12/03/12 21:56
12/03/12 21:56
Joined: Nov 2012
Posts: 6
N
NightWalker Offline OP
Newbie
NightWalker  Offline OP
Newbie
N

Joined: Nov 2012
Posts: 6
jcl is right, code is ok, I thought I did something wrong int this line, but I messed up with TimeFrame.


NightWalker

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1