easy simple script for using daily non repainted daily candles on lower TF (4 hour or lower) the color change (bullish=blue) , bearish =orange is made by special indicator that calculate the change of daily no security MTF to current close so I just put this as template if someone want to use it as helper the daily candles use security in non repainted mode that suggested by TV coders so feel free to change this indicator as you wish :)
ti = change( time(HTF) ) != 0
T_c = fixnan( ti ? close : na )
change and fixnan commands what does it do?
Thank you.