I want to color bars that as create a gap over or lower the preceding body
Code: Select all
If Open > maxlist(close[1],Open[1]) or open < minlist(close[1],Open[1]) then begin
PlotPaintBar(,,Open,Close,"gapbar",Red,12);
end;
as mentionned in the help,
How could I code so the width of the colored bar be the same as the candle displayed on the screenLineWidth - an optional parameter; specifies the plot line width, ranging from 1 to 14
Plot line width can be specified as a numerical expression or by the word Default to specify the line width chosen by the user. In order for LineWidth to be used, PlotName, PlotColor, and Default parameters must also be used.
Martin