Dukascopy
 
 
Wiki JStore Search Login

JFOREX-2746 No nichimoku indicator in IIndicator interface
 Post subject: JFOREX-2746 No nichimoku indicator in IIndicator interface Post rating: 0   New post Posted: Fri 07 Jan, 2011, 04:20 

User rating: 0
Joined: Fri 03 Dec, 2010, 16:11
Posts: 4
API ver. 2.6.30

There's not Ichimoku function in the IIndicator interface. It seem however, that one can use the calculateIndicator function to access the values as follow:

Object [] Ichimoku = indicators.calculateIndicator(instrument, period, new OfferSide[] {OfferSide.BID},
                "ICHIMOKU",  new IIndicators.AppliedPrice[]{IIndicators.AppliedPrice.CLOSE},
                new Object[]{9, 26, 52}, Filter.WEEKENDS, 1, bidBar.getTime(), 0);


Source: https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=6&t=24584.

But even so, that method looks complicated and ugly(I didn't test it, so I don't know if it works).

Please add the Ichimoku function to IIndicator for easy access.


 
 Post subject: Re: IIndicator interface doesn't have the ichimoku indicator Post rating: 0   New post Posted: Wed 19 Jan, 2011, 09:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Thank you for the information, this will be added in the next release.


 

Jump to:  

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