PureBytes Links
Trading Reference Links
|
Hi all,
Instead of using Text_New, first create a text by hand on your chart, if
it's the only one displayed, then this text will be named Text#0.
If there are other texts, you can right click on the insteresting one to see
its number.
and then apply the following code
{***************************************
Written by: Philippe le 15/08/99
Created by Rich Estrem, Tucson, Arizona.
estrem@xxxxxxxxxxxxx
Description: affiche le cours dans une etiquette sur une chart a base
mninutes
(Non valable pour une tick chart)
****************************************}
Input: TextBoxNumber(0);
If LastBarOnChart then begin
Text_SetLocation(TextBoxNumber,Date,Time,Close);
Text_SetStyle(TextBoxNumber,1,1);
end;
If CurrentBar = 1 then Plot1(C,"");
Greetings from Paris,
Philippe
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
philippe_lhermie@xxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: Wayne Mathews <wayne@xxxxxxxxx>
To: Monte C. Smith <montecs@xxxxxxxx>
Cc: =omega list <omega-list@xxxxxxxxxx>
Sent: Saturday, August 21, 1999 8:03 PM
Subject: RE: Creeping Text
>
> Monte
>
> you must use Text_New once on barnumber 1 to start the text, then on
> following bars Text_Delete, then rewrite with another Text_New command.
> This way the text is deleted and rewritten on each new bar.
>
> wayne
>
>
>
>
>
> > Subject: Creeping Text
> > Date: Fri, 20 Aug 1999 15:34:32 -0700
> > From: "Monte C. Smith" <montecs@xxxxxxxx>
> > To: omega-list@xxxxxxxxxx
> >
> > After writing text on a chart window, the text will creep to the left as
> > more bars are added over time, eventually disappearing off the left edge
> > of the window. Does anyone know how to write text so it stays in the
> > same position in the chart window (i.e., relative to the window border)
> > without drifting to the left over time? Thanks.
> >
> > Monte
>
>
|