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.

IndicatorInfo deprecated
 Post subject: IndicatorInfo deprecated Post rating: 0   New post Posted: Mon 16 Nov, 2015, 22:38 

User rating: 1
Joined: Sat 27 Apr, 2013, 16:18
Posts: 30
Location: Brazil,
Hi, suport.

I'd just downloaded the code from:

https://www.dukascopy.com/wiki/#Indicator_that_uses_the_output_of_another_indicator

and imported into my project on Eclipse and it is telling me that "The constructor IndicatorInfo(String, String, String, boolean, boolean, boolean, boolean, int, int, int) is deprecated"

How can I make it work?

Another question: Suppose I can make it work, can I create a zigzag indicator with obv indicator outputs with that code?

Thanks for your help.


 
 Post subject: Re: IndicatorInfo deprecated Post rating: 0   New post Posted: Tue 17 Nov, 2015, 11:32 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can replace the following code:
 
indicatorInfo = new IndicatorInfo("SMA_RSI", "SMA over RSI", "My indicators", false, false, false, false, 1, 2, 2);


with:
indicatorInfo = new IndicatorInfo("SMA_RSI", "SMA over RSI", "My indicators", false, false, false, 1, 2, 2);


If you need help developing indicators and strategies please use services of external programmers:
https://www.dukascopy.com/fxcomm/members/?user=&country=0&spoken_language=&services=program_service


 
 Post subject: Re: IndicatorInfo deprecated Post rating: 0   New post Posted: Thu 19 Nov, 2015, 23:59 

User rating: 1
Joined: Sat 27 Apr, 2013, 16:18
Posts: 30
Location: Brazil,
Thank you very much!


 

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