• Join us

is there a way to use highest starting from a time such as 06:00 instead of referencing the current bar?

To add comments, please log in or register
jess
117
jess  
trying to get the highest price from 9 to 10 am, but the highest only does calculations based on the current candle.

any way around this? or is there another function i can use to call the highest price for a specified time?

thank you!
cockeyedcowboy
524
cockeyedcowboy  
o6o2:
trying to get the highest price from 9 to 10 am, but the highest only does calculations based on the current candle.

any way around this? or is there another function i can use to call the highest price for a specified time?

thank you!
Files:
highest.jpg 46 kb
jess
117
jess  
i see, but what is the property of zero? how was it defined?

the int start=0 means the current bar on the chart right?

if its i right now past 10am (for an undeteremind amount of time, but less than 2hours) how would i call the high of 9-10am?

thank you! i am pretty new at metascript
is there a way to call the property of a bar by specifying the hr:min?

thank you!
jess
117
jess  
umm. i used ibar, that seemed to work.
To add comments, please log in or register