PlotPaintBar Compliler Error
Posted: Jan 15 2022
I am trying to paint the bar color depending on the trend I specified,
my script is as following:
I am getting a compile error on the last line statement (Plotpaintbar), Please advise what correct format I should use.
my script is as following:
Code: Select all
if trend = 1 then begin
SetPlotColor(9, Blue);
end;
if trend = -1 then begin
SetPlotColor(9, red);
end;
PlotPaintBar(O, H, L, C, 9, default);