As per the EasyLanguage Functions and Reserved Words Reference
PlotPaintBar and PlotPB are the same command.
Copy from the manual
PlotPB (Reserved Word)
This reserved word is an ABBREVIATED version of PlotPaintBar and enables you to paint the entire bar a specified
color or paint the bar between two specified values.
PlotPB( BarHigh, BarLow [, BarOpen [, BarClose [, "<PlotName>"[, ForeColor[, Default[,
BarHigh, BarLow, BarOpen and BarClose are numeric expressions representing the high, low, open and closing
prices for the bar to be drawn by the PaintBar study, and <PlotName> is the name of the plot. ForeColor is an Easy
Language color used for the plot (also referred to as PlotColor), Default (reserved for future use), and Width is a
numeric value representing the width of the plot.
It gave the same result
I will keep my actual code, but i will paint the entire bar instead of just the body.
Have a good day