Page 1 of 1

ADX chart

Posted: Mon Nov 08, 2010 11:29 am
by 15054354
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

Re: ADX chart

Posted: Mon Nov 08, 2010 12:13 pm
by narcis
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.

Re: ADX chart

Posted: Mon Nov 08, 2010 12:47 pm
by 15054354
Hi,

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

Re: ADX chart

Posted: Mon Nov 08, 2010 12:56 pm
by narcis
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.

Re: ADX chart

Posted: Mon Nov 08, 2010 1:07 pm
by 15054354
hi Narcis,

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

Thanks