Please use code tags. The code format changes and produces errors if not following advice given here How to use this site It is not any fun.
As for your code... for example you are using comma before styleNoRescale
Instead use
styleThick | styleNoRescale
That being said since you seem to want to mark bars why not rather using PlotShapes?
Here just marking equal previous daily bar low.
_SECTION_BEGIN( " !PDHPDLPDC" );
PDL_Color = ParamColor( "PDL Color", colorDarkGrey );
showpdhlc = ParamToggle( "show pdhlc", "No|Yes", 1 );
PDL = TimeFrameGetPrice( "L", inDaily, -1 );
PDLcond = PDL==Ref(PDL,-1);
Plot( C, "Price", colorDefault, styleBar );
if( showpdhlc )
{
PlotShapes( PDLcond * shapeSmallCircle, colorRed, layer = 0, y = L, dist = 0 );
}
_SECTION_END();