ADX chart

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

ADX chart

Post by Petar » Mon Nov 08, 2010 11:29 am

Hi,

I have a catastrophic failure when i try to draw an ADX chart :

With AxTChart

.Series(iSerie).DataSource = .Series(SourceSerie)
.Series(iSerie).SetFunction(TeeChart.EFunctionType.tfADX)
.Series(iSerie).FunctionType.Period = DEFAULT_PERIOD
.Series(iSerie).CheckDataSource()

End With

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

Re: ADX chart

Post by Narcís » Mon Nov 08, 2010 12:13 pm

Hi User1,

Code snippet below works fine for me here using latest TeeChart Pro ActiveX v8 and v2010 releases. Does this work fine for you? Which TeeChart version are you using? Can you please modify the code snippet or send a simple example project we can run "as-is" to reproduce the problem here?

Code: Select all

Private Sub Form_Load()    
    TChart1.Aspect.View3D = False
    TChart1.AddSeries scCandle
    
    TChart1.Series(0).FillSampleValues 100
    
    TChart1.AddSeries scLine
    TChart1.Series(1).SetFunction tfADX
    TChart1.Series(1).DataSource = TChart1.Series(0)
    TChart1.Series(1).CheckDataSource
End Sub
Thanks in advance.
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

Petar
Newbie
Newbie
Posts: 40
Joined: Tue Oct 06, 2009 12:00 am

Re: ADX chart

Post by Petar » Mon Nov 08, 2010 12:47 pm

Hi,

I'm using TeeChart Pro v8.0.0.8.10301 : it works for stochastic, RSI curve and doesn't work for ADX...

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

Re: ADX chart

Post by Narcís » Mon Nov 08, 2010 12:56 pm

Hi User1,

Thanks for your feedback. Can you please attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.
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

Petar
Newbie
Newbie
Posts: 40
Joined: Tue Oct 06, 2009 12:00 am

Re: ADX chart

Post by Petar » Mon Nov 08, 2010 1:07 pm

hi Narcis,

Your example works fine, I did not know that the curve type adx works with Candle data type...

Thanks

Post Reply