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.

IChart.addIndicator deprecated, how to add indicator
 Post subject: IChart.addIndicator deprecated, how to add indicator Post rating: 0   New post Posted: Wed 08 Jan, 2014, 17:05 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
If IChart.addIndicator is deprecated,

then how do I add indicators in Historical Tester backtesting
within the JForex platform?

Can I get a reference to IChartPanel if it is not a standalone client?

Thanks,
HyperScalper


 
 Post subject: Re: IChart.addIndicator deprecated, how to add indicator Post rating: 0   New post Posted: Wed 08 Jan, 2014, 17:14 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
OK, I think I see now. The superinterface to IChart is
IChartPanel where the add method is found.

Is this the correct method?

HyperScalper


 
 Post subject: Re: IChart.addIndicator deprecated, how to add indicator Post rating: 0   New post Posted: Wed 08 Jan, 2014, 17:15 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
exactly


 
 Post subject: Re: IChart.addIndicator deprecated, how to add indicator Post rating: 0   New post Posted: Thu 09 Jan, 2014, 13:03 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
hyperscalper wrote:
If IChart.addIndicator is deprecated, then how...

If you use an IDE, where javadocs is available, there is always(?) a suggested method to replace the deprecated one.


 
 Post subject: Re: IChart.addIndicator deprecated, how to add indicator Post rating: 0   New post Posted: Thu 09 Jan, 2014, 13:22 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
tcsabina wrote:
there is always(?) a suggested method to replace the deprecated one.
Well, somebody needs to document this in the javadocs, so "always" is the case only in a perfect world where there are no sloppy programmers :).


 

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