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

Re: Drawing lines automatically on charts


  • To: omega-list@xxxxxxxxxx
  • Subject: Re: Drawing lines automatically on charts
  • From: "Terry B. Rhodes" <trhodes3@xxxxxxxxx>
  • Date: Thu, 10 Oct 2002 13:28:26 -0700
  • In-reply-to: <200210101957.MAA18014@xxxxxxxxxxxxxx>

PureBytes Links

Trading Reference Links

Hi,

There is no EL command to extend TLs n bars to the right.

To extend a TL

	1. turn on extend right
	2. get the value of the TL for the desired bar
	3. reset the end of the bar to that value on that bar
	4. turn off extend right

I didn't test this but am 99% sure it will work.

regards,

tbr

> I can now use TL_New to draw a
> trendline between two stipulated points, in this case between two highs.
> 
> What I'd like to do is to extend the line to the right by so-many bars.
> The only way I can see to do this is with TL_SetEnd but that requires
> that you have a specific date, time and price. I don't suppose there is
> a TL_ExtendLineBy-X-bars function, is there...? (:-)
> 
> Given that I already have two dates, two times and two prices of the
> highs to draw the line in the first place, is there a formula that would
> let me calculate new end values for so-many bar in the future?
>