PureBytes Links
Trading Reference Links
|
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
>
|