How to use previous days Low,High and close?

for the previous day ,

REF(LOW,1)    OR

REF(HIGH,1)    OR

REF(CLOSE,1)

hI,i think the above script refered only previous candlestick bar and not previous day…

I think ‘1’ here is period. What if I need to hold previous day OHLC values in my tradescript getting executed in 1 minute or 5 minute chart?

you have to add script HIGH = HHV(51) or LOW= LLV(51) where 51 is the number of candles of previous day

Hello Algo,

I need the script for present candle breaks previous candle High or Low with 1 minute candle stick pattern.

Thanks In advance…