Page 1 of 1

Issue on Loading MACD Function from Binary File

Posted: Thu Dec 16, 2010 3:06 pm
by 15054354
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,

Re: Issue on Loading MACD Function from Binary File

Posted: Fri Dec 17, 2010 4:36 pm
by yeray
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.