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.

Indicator Calculation Problems
 Post subject: Indicator Calculation Problems Post rating: 0   New post Posted: Mon 07 Mar, 2011, 15:41 
User avatar

User rating: 0
Joined: Tue 07 Dec, 2010, 10:51
Posts: 39
Hey everyone,

I reinstalled windows today, installed the java software, and started to test my strategies again. Well they all failed, but then I noticed that the programmed rules are not followed.

After that error messages like the following started to appear:

"14:33:48 Error in indicator: calculate() method of indicator [EMA] returned less values than expected. Requested from-to [0]-[107], input array size [108], returned first calculated index [54], number of calculated values [54], lookback [7], lookforward [0], expected number of elements is [101]
"

Any idea what may be wrong?

Thanks


 
 Post subject: Re: Indicator Calculation Problems Post rating: 0   New post Posted: Tue 08 Mar, 2011, 08:20 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Could you please elaborate, e.g. are you using a custom indicator or a built-in EMA indicator, also, post the parameters you use when calling the indicator, etc.


 
 Post subject: Re: Indicator Calculation Problems Post rating: 0   New post Posted: Tue 08 Mar, 2011, 11:04 
User avatar

User rating: 0
Joined: Tue 07 Dec, 2010, 10:51
Posts: 39
Support wrote:
Hi,
Could you please elaborate, e.g. are you using a custom indicator or a built-in EMA indicator, also, post the parameters you use when calling the indicator, etc.


Hey, I'm using the built int EMA indicator, the parameters I use are 5 for short and 8 for long.


 
 Post subject: Re: Indicator Calculation Problems Post rating: 0   New post Posted: Wed 09 Mar, 2011, 10:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Please provide the code you use when calling EMA indicator.


 

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