PureBytes Links
Trading Reference Links
|
Thanks, but that won't work.
I need to draw it as a trendline so I can change color and move it around.
This worked fine in TS 4.0, but something has changed in TS2Ki. What I'm not
sure, but it won't draw trendlines at all using this code.
I figured someone on the list had run into this before and I wouldn't have
to spend time reinventing the wheel.
Thanks again,
RR
-----Original Message-----
From: Ed Garibian [mailto:egarone@xxxxxxxxx]
Sent: Monday, March 04, 2002 10:18 AM
To: omega-list@xxxxxxxxxx; rr@xxxxxxxxxxxxx
Subject: Re: EasyLanguage question
If Time >= Value2 and Condition2 then begin
Condition2 = false;
plot1(5)
else noplot(1);
just choose line type histogram.
Ed
--- rr <rr@xxxxxxxxxxxxx> wrote:
> Here's a snippet of code that works in TS 4.0, but
> not in
>
> If Time >= Value2 and Condition2 then begin
> LineStyle = 0;
> Line = TL_New(Date, Time, C, Date, Time, L);
> ExtR = TL_SetExtRight(Line, True);
> ExtL = TL_SetExtLeft(Line,True);
> SetColor = TL_SetColor(Line, tool_yellow);
> Thickness = TL_SetSize(Line, 0);
> Style = TL_SetStyle(Line, LineStyle);
> Condition2 = false;
> end;
>
> It places a vertical line on the bar that meets the
> time and condition in TS
> 4.0, but not TS2Ki.
>
> How do I get this to work in TS2Ki?
>
> Thanks,
>
> RR
|