Hello What is best practice to store the opening price at a specific time (ex. 090000 – 9am) in a variable I tried the following code: if time >= 090000 and time <= 090005 then myopenprice = open endif return myopenprice Thanks for your support.