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

RE: Re[2]: text beyond LastBarOnChart <- Yes you can!



PureBytes Links

Trading Reference Links

Ivo,

good information Thank You!

I am still looking for a solution how to convert lets say 12 bars in the
future to the relevant date. In daily chart I need to take care of weekends
and holidays. Any ideas?

Wolfgang

-----Original Message-----
From: Ivo Karindi [mailto:ivo@xxxxxxxxx]
Sent: Monday, October 11, 2004 2:13 PM
To: unicorn@xxxxxxxxx; omega-list@xxxxxxxxxx; Alex Matulich;
wofipa@xxxxxxxxxxxxx
Subject: Re[2]: text beyond LastBarOnChart <- Yes you can!


Kinda late to chime in here but, actually, in TS2000i you *can* plot
text into the future. For example, you can do this:


vars: y(0), Str(""), DD(0);

if LastBarOnChart then begin
        Str = "YourString";
        DD = JulianToDate(DateToJulian(Date) + 15);
        y =  Text_New(DD1, 0, Low, Str);
        Text_SetStyle(y, 0, 1);
end;


Of course, the prerequisite here is that you have sufficient number of
bars to the right available on your chart. Same applies to trendlines
- just need to feed it with proper future dates.

Best regards,

Ivo Karindi