[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: They said, "It couldn't be done"



PureBytes Links

Trading Reference Links

Could you paste an ASQII item inbetween your " ".  Wonder if ASQII is still
on our operating systems.


----- Original Message -----
From: "TaoOfDow" <TaoOfDow@xxxxxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Tuesday, April 23, 2002 2:36 PM
Subject: They said, "It couldn't be done"


> Gentlemen,
>
> I'm on a roll, on my new-found ability to program text studies.
> Whoopie!
>
> Before acquiring TS, I used a charting program that had a feature that I
> liked, which TS does not have --- a colored caret besides the current
> price --- such is very easy to see and follow.
>
> >From time to time, I have asked the gurus herein if it would be possible
> to program TS to make such a colored caret, and they (who shall remain
> nameless) said, "It can't be done."  Beginner's luck, or whatever, I
> just did it:
>
> {Places colored caret to the right of the current tick}
> {Set Chart Window Properties for Update Every Tick}
> {Works better for minute-based charts}
>
> Var:    Cl("<"), ID(0);
>
> IF BarNumber = 1 THEN ID = Text_New(D,T,C,Cl);
> Text_SetLocation(ID,D,T,C);
> Text_SetStyle(ID,0,2);
>
> IF 0 = 1 THEN Plot1(0,"");
>
> *****
>
> I have looked for an instruction (eg, Text_SetSize), similar to
> TL_SetSize for TrendLines, that would allow me to increase the size of
> the resulting caret but have not found anything relevant.  Query: Is
> there any way in EL to vary text size?  The only way I have found so far
> to change the font or font size is globally under the Format Chart
> Window setting.  What I'm looking for is a way to specify the font or
> font size solely of the text drawn with the text study.  (OK, OK, I
> heard it before --- "It can't be done.")
>
> *****
>
> It works, and they said "It couldn't be done!"  How 'bout them apples!!!
>
> Sincerely,
>
> Richard
>