Page 1 of 1

candlesticks and pivot points

Posted: Thu Jan 22, 2009 10:39 pm
by 10046425
I'm using candlestick series for a financial application, I now need to add a number of pivot points to the chart, which are basically horizontal lines.

What series should I use as the y axis for each pivot point, support and resistance is constant and the x axis is a time series as per the candlestick series.

any example code would benefit.

thanks

Posted: Fri Jan 23, 2009 8:22 am
by narcis
Hi laurence,

In that case I recommend you to use ColorLine tools associated to the left axis. You'll find ColorLine tool examples at All Features\Welcome!\Tools\Color Line in the features demo, available at TeeChart's program group.

Posted: Thu Feb 05, 2009 8:30 pm
by 10046425
Thanks, just what I was looking for.

by the way there is a bug in the TcolorLine, when a line is drawn just outside the axis it shows in the panel area.

Posted: Fri Feb 06, 2009 10:18 am
by narcis
Hi laurence,

You're welcome. I'm glad to hear that helped.
by the way there is a bug in the TcolorLine, when a line is drawn just outside the axis it shows in the panel area.
I don't think it is a bug. Have you tried setting NoLimitDrag to false?

Code: Select all

    TChart1.Tools.Items(0).asColorLine.NoLimitDrag = False