Not valid in Lite-C.
First, declare var DailyBar[4].
Next, set each value of each array element. For example, DailyBar[0] = priceO(1).

Also, you have multiple copies of the DailyBar array, both globally and locally. Your function will prefer the local variable over the global.