PureBytes Links
Trading Reference Links
|
> How can I make it so only the first bar that meets this criteria
> is painted on my chart, and not all the bars that also are 30 in
> price.
vars: PaintToday(False);
if Date <> Date[1] then PaintToday = False;
If PaintToday = False and close = 30 then begin
Plotpaintbar(High,Low,"myprice");
PaintToday = True;
end;
Gary
|