Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

calculateIndicator ??
 Post subject: calculateIndicator ?? Post rating: 0   New post Posted: Fri 17 Aug, 2012, 13:41 

User rating: 0
Joined: Thu 03 Nov, 2011, 21:46
Posts: 68
Location: Russian Federation,
hello support!
I see You use different method:

double[][] cci = calculateIndicatorDouble("CCI", feedDescr, appliedPrice, new Object[]{indPeriod}, 2, bar.getTime(), 0);
and
double[][] cci = calculateIndicator("CCI", feedDescr, appliedPrice, new Object[]{indPeriod}, 2, bar.getTime(), 0);

What is the difference in these two ways to access the indicator?

how to properly use?

p.s
If use this for backtest: ,double[][] cci = calculateIndicatorDouble("CCI", feedDescr, appliedPrice, new Object[]{indPeriod}, 2, bar.getTime(), 0);
all process very slowly..
Regards


 
 Post subject: Re: calculateIndicator ?? Post rating: 0   New post Posted: Tue 21 Aug, 2012, 17:36 

User rating: 0
Joined: Thu 03 Nov, 2011, 21:46
Posts: 68
Location: Russian Federation,
hi support,
you can explain ?

regards


 
 Post subject: Re: calculateIndicator ?? Post rating: 0   New post Posted: Thu 23 Aug, 2012, 14:52 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
calculateIndicatorDouble returns double[] whereas calculateIndicator returns Object[]


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com