Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 17,605 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
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