I didn't see this posted anywhere so I whipped it up real quick for a scalp strategy I've been working on. Makes it easier for me to see my entries when I don't want to hove my mouse over the candle or guess where a high/low is. Anyway, these labels just show you the previous candles Open-High-Low-Close-Range. Its pretty simple and easy to customize. Enjoy.
#Previous Open-High-Low-Close-Range (POHLCR) Labels #Cribbage 7/11/2022 input O = no; input H = yes; input L = yes; input C = no; input R = yes; input Back = 1; #How many candles back you want PCOHLC to look. def PO = open[Back]; def PH = high[Back]; def PL = low[Back]; def PC = close[Back]; Def Range = PH-PL; addlabel(O, "Open: " + PO, color.yellow); addlabel(H, "High: " + PH, color.green); addlabel(L, "Low: " + PL, color.red); addlabel(C, "Close: " + PC, color.dark_orange); addlabel(R, "Range: " + Range, color.cyan); #Cribbage End Code