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.

registerCustomIndicator : no suchmethoderror !
 Post subject: registerCustomIndicator : no suchmethoderror ! Post rating: 0   New post Posted: Thu 13 Dec, 2012, 14:00 

User rating: 0
Joined: Thu 16 Jun, 2011, 08:14
Posts: 6
Location: Switzerland,
Hi,

I have a strategy that uses custom indicators, I had not run it in a long time, and now with JForex API 2.7.5.2 I get the following message:

12:29:14 Strategy tester: java.lang.NoSuchMethodError: com.dukascopy.api.IIndicators.registerCustomIndicator(Ljava/io/File;)V @ VarBounceMgmtTest.onStart(VarBounceMgmtTest.java:378)

The Java doc says the registerCustomIndicator() method is not deprecated or anything, so how is one supposed to register a custom indicator for a strategy now ?

Thanks


 
 Post subject: Re: registerCustomIndicator : no suchmethoderror ! Post rating: 0   New post Posted: Thu 13 Dec, 2012, 14:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Does the error repeat after the recompiling the strategy?


 
 Post subject: Re: registerCustomIndicator : no suchmethoderror ! Post rating: 0   New post Posted: Thu 13 Dec, 2012, 15:39 

User rating: 0
Joined: Thu 16 Jun, 2011, 08:14
Posts: 6
Location: Switzerland,
ha, thanks, a compile fixed it !


 

Jump to:  

  © 1998-2026 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