PureBytes Links
Trading Reference Links
|
It works! =]
Thank You Gary.
Maybe you could help me with one other question. Instead of using "close"
for the bar, what language do I put in, to paint the first bar that trades
at "myprice", and not only closes at my price. Do I replace the close with
(high,low)?
Michael
----- Original Message -----
From: Gary Fritz <fritz@xxxxxxxx>
To: aiiishot <aiiishot@xxxxxxxxx>
Cc: <omega-list@xxxxxxxxxx>
Sent: Monday, December 10, 2001 11:40 PM
Subject: Re: Plotpaintbar only once?
> > 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
|