v5.6 Possible bug report: PlotText( "H:"+Prec((C/HHV(C,100)-1)*100,1)+"%"+"\nM:"+Prec((C/EMA(C,200)-1)*100,1)+"%"+ "\nL:"+Prec((C/LLV(C,100)-1)*100,1)+"%" ,LastValue(BarIndex())+4,LastValue(C), colorBlack, colorYellow ); It displays correctly in about 100bars, if you zoom out more than 100 bars, the data will be zero.
according to thomas: bug fixed as below: PlotText( "H:"+Prec((C/HHV(C,100)-1)*100,1)+"%"+"\nM:"+Prec((C/EMA(C,200)-1)*100,1)+"%"+ "\nL:"+Prec((C/LLV(C,100)-1)*100,1)+"%",(FirstVisibleValue(BarIndex())+LastVisibleValue(BarIndex()))/2, LastValue(C), colorBlack, colorYellow );