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

Re: problems with Text_New and Pager_Send?



PureBytes Links

Trading Reference Links

Bob,
did experimenting with the Text_New, etc. functions in ts2ki. What I did was
very simple: I programmed a signal to output new text on the LastBarOnChart -
and this worked as long this signal was the only one in a system I created. But,
after I added Profit Target LX/SX signals that include the ShowLongStop /
ShowShortStop functions no text will be drawn on my chart anymore. Do you know
why ?
Thanks
Frank

Bob Fulks wrote:

> At 10:07 AM +0200 8/23/99, Philippe Lhermie wrote:
>
> >I noticed that if I wanna use Text_New , I cannot start a line of code by:
> >
> >Text_New(Date, Time, Close, "Last Bar");
> >
> >I have to use a work around, otherwise the code can't be verified and I get
> >the following message:
> >"This word cannot start a statement"
> >
> >only this works for me:
> >Value1 = Text_New(Date, Time, Close, "Last Bar");
> >
> >And it's the same with Pager_Send:
> >
> > Pager_Send("Philippe","TestEmail");
> >gives the same error message
> >
> >and the following line works:
> >
> > Condition1 = Pager_Send("Philippe","TestEmail");
> >
> >Does anyone know why ?
>
> That is the way it was designed to work. The value the function
> returns is used to identify which text item you are referring to when
> you later need to modify (change color, etc,) or delete the text item.
>
> Bob Fulks