|
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 ?? |
maxi
|
Post subject: calculateIndicator ?? |
Post rating: 0
|
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
|
|
|
|
 |
maxi
|
Post subject: Re: calculateIndicator ?? |
Post rating: 0
|
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
|
|
|
|
 |
API Support
|
Post subject: Re: calculateIndicator ?? |
Post rating: 0
|
Posted: Thu 23 Aug, 2012, 14:52
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
calculateIndicatorDouble returns double[] whereas calculateIndicator returns Object[]
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|