_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
_SECTION_BEGIN("52-Wk-H-L");
Hclose=HHV(H,260);
Lclose= LLV(L,260);
Sha1 = EncodeColor(colorGreen) + "52-Week-High = " + Hclose + "\n";
Sha2 = EncodeColor(colorRed) + "52-Week-Low = " + Lclose + "\n";
_N(Title = StrFormat("{{NAME}} ({{INTERVAL}}), {{DATE}} ; {{OHLCX}}, V=%1.0f\n {{VALUES}}\n\n", V) + Sha1 + Sha2);
_SECTION_END();
HI = Close > Ref(HHV(High,260),-1);
LW = Close < Ref(LLV(Low,260),-1);
Plot(Hclose,"52 Week High",colorBlue,styledots);
Plot(Lclose,"52 Week Low",colorRed,styledots);
//52 Week High Low
High52 = HHV(High,260);
Low52 = LLV(Low,260);
Filter = 1;
AddColumn(High52,"52 Week High");
AddColumn(Low52,"52 Week Low");