candlesticks and pivot points

TeeChart for ActiveX, COM and ASP
Post Reply
laurence
Newbie
Newbie
Posts: 2
Joined: Thu Aug 09, 2007 12:00 am
Location: wales, uk

candlesticks and pivot points

Post by laurence » Thu Jan 22, 2009 10:39 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jan 23, 2009 8:22 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

laurence
Newbie
Newbie
Posts: 2
Joined: Thu Aug 09, 2007 12:00 am
Location: wales, uk

Post by laurence » Thu Feb 05, 2009 8:30 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 06, 2009 10:18 am

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
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply