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.

How to call com.dukascopy.indicators indicators from strategy
 Post subject: How to call com.dukascopy.indicators indicators from strategy Post rating: 0   New post Posted: Sun 03 Dec, 2017, 10:56 

User rating: 0
Joined: Mon 14 Nov, 2011, 05:16
Posts: 33
Location: PhilippinesPhilippines
Hi

I am trying to call the TSI indicator from the com.dukascopy.indicators library with the below call

double [] tsi = com.dukascopy.indicators.TSI(instrument, Period.ONE_HOUR, OfferSide.BID, IIndicators.AppliedPrice.CLOSE, 20, 13, 7);

but get an error

09:52:48 com.dukascopy.indicators cannot be resolved to a type

- how do I call indicators from com.dukascopy.indicators?


 
 Post subject: Re: How to call com.dukascopy.indicators indicators from strategy Post rating: 0   New post Posted: Sun 03 Dec, 2017, 18:16 
User avatar

User rating: 5
Joined: Thu 04 Aug, 2016, 04:51
Posts: 61
Location: CanadaCanada
Hello Weinbej,

This section of the forum is dedicated to Visual JForex only and your issue is related to Automated Trading using Java. Therefore, I encourage you to post your question in the right place in order to get the help you are seeking. Please click on the following hyperlink to get to the designated forum section:
Automated Trading


Cheers!


 

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