_SECTION_BEGIN("Price Line");
PriceLineColor=ParamColor("PriceLineColor",ColorRGB(82,82,82));
PriceLevel = ParamField("PriceField", field = 3 );
Daysback = Param("Bars Back",25,10,90,1);
FirstBar = BarCount - DaysBack;
YY = IIf(BarIndex() >= Firstbar,EndValue(PriceLevel),Null);
Plot(YY,"",PriceLineColor,ParamStyle("LineStyle",styleLine|styleNoTitle|styleNoLabel|styleThick,maskAll));
bC = BarCount;
lineSL = yy;
StartXre = LastValue( ValueWhen( yy, 1 ) );
EndYre = LastValue( ValueWhen( yy, yy ) );
PlotText( "" + NumToStr(EndYre,1.2) , bc + 1, EndYre , colorWhite, colorBlack);
_SECTION_END();