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.

Call custom indicator from strategy
 Post subject: Call custom indicator from strategy Post rating: 0   New post Posted: Tue 08 Feb, 2011, 12:32 

User rating: 0
Joined: Tue 08 Feb, 2011, 12:24
Posts: 1
Hi Support,

How can I call custom indicator from my strategy?

I developed an indicator and my own strategy, they are under same folder, I want keep them seperate ( I knew it will work if I put them into one java file).

I have tried "Load java calss", it can't cast from Class to IIndicator.

Thanks.


 
 Post subject: Re: Call custom indicator from strategy Post rating: 0   New post Posted: Tue 08 Feb, 2011, 14:41 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
To call custom indicator from your strategy use IIndicators.calculateIndicator method, for the details please assume the following JForex Wiki page: https://www.dukascopy.com/wiki/index.php ... s#Overview


 

Jump to:  

cron
  © 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