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

Re: Why does this TrendLine function fails at times?



PureBytes Links

Trading Reference Links

> TL_Level_ID = TL_New( Date, time, Level, Date, Time, Level ) ;

I'm a little surprised that works at all. It has the same starting point
and ending point for the line so you really aren't telling TS which
direction the line should extend. Try using date[1],time[1],level as the
starting point and date,time,level as the ending point. Then, when you
set SetExtRight to true, it will know which direction to draw.

-- 
  Dennis