Webi have tried a few scripts and tried to change details within the script for high, low and close of previous day, the problem i have is that when i change to a daily view of the candles.

Webhere is one way.

Webyesterday's labels @merryday 5/2022 def day = aggregationperiod. day;

Recommended for you

Def dopen = open(period = day);

Def yhigh = high(period =.

Def daylo = round(low(period =.

Input timeframe1 = aggregationperiod. day;

Def dayhi = round(high(period = timeframe1), 2);

Def dayhi = round(high(period = timeframe1), 2);

You may also like