Dukascopy
 
 
Wiki JStore Search Login

the IIndicators not used, help~
 Post subject: the IIndicators not used, help~ Post rating: 0   New post Posted: Thu 23 Feb, 2012, 17:09 

User rating: -
Hi,
I have a question,the IIndicators.t3 about two weeks ago can be used. But now not used, it's retun "Error while loading bars".
how can i used IIndicators return number?
thanks a lot.

Example:
Period period = Period.FIVE_MINS;
IBar prevBar = history.getBar(instrument, period, OfferSide.BID, 1);
int candlesBefore = 1;
int candleAfter = 0;
IIndicators T3IIndicators = null;

double[] slow1 = T3IIndicators.t3(instrument, Period.FIVE_MINS, OfferSide.BID, IIndicators.AppliedPrice.MEDIAN_PRICE, 10, 0.7,
Filter.NO_FILTER, candlesBefore, prevBar.getTime(), candleAfter);


 

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