priceOpen(hour(0)) for Period = 60

Posted By: NightWalker

priceOpen(hour(0)) for Period = 60 - 12/03/12 12:03

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().
Posted By: jcl

Re: priceOpen(hour(0)) for Period = 60 - 12/03/12 12:37

If your script is correct, you should indeed get 24 times the same price.
Posted By: PriNova

Re: priceOpen(hour(0)) for Period = 60 - 12/03/12 16:04

i don't thing so. usually NightWalker get the open-price of every finished hourly bar because he uses Period 60 and not 1440.
Posted By: NightWalker

Re: priceOpen(hour(0)) for Period = 60 - 12/03/12 21:56

jcl is right, code is ok, I thought I did something wrong int this line, but I messed up with TimeFrame.
© 2024 lite-C Forums