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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, 7th_zorro, 1 invisible), 887 guests, and 3 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
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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