Issue on Loading MACD Function from Binary File

TeeChart for ActiveX, COM and ASP
Post Reply
Petar
Newbie
Newbie
Posts: 40
Joined: Tue Oct 06, 2009 12:00 am

Issue on Loading MACD Function from Binary File

Post by Petar » Thu Dec 16, 2010 3:06 pm

Hi,

I have an assignment issue when I load a set of charts containing the function MACD.

For example, if I draw a chart with MACD function and Stochastic function, i will have normally :

Code: Select all

Axtchart.series (0).title = Title1
Axtchart.series (1).title = TitleMACD
Axtchart.series (2).title = Nothing
Axtchart.series (3).title = Nothing
Axtchart.series (4).title = TitleStochastic
But if I load these series from a file, I have the following assignments :

Code: Select all

Axtchart.series (0).title = Title1
Axtchart.series (1).title = TitleMACD
Axtchart.series (2).title = TitleStochastic
Axtchart.series (3).title = Nothing
Axtchart.series (4).title = Nothing
Regards,

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Issue on Loading MACD Function from Binary File

Post by Yeray » Fri Dec 17, 2010 4:36 pm

Hi Petar,

I think that this would be because the MACD function creates 2 internal extra series that aren't exported to the file and when the file is loaded it probably loads the series in the file and once this has been made, the MADC extra series are created.
You could try changing the order of the series with ExchangeSeries method once the file has been loaded.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply