Dukascopy
 
 
Wiki JStore Search Login

help me ! solve the problem of stoch indicator
 Post subject: help me ! solve the problem of stoch indicator Post rating: 0   New post Posted: Mon 17 Mar, 2014, 09:31 

User rating: 0
Joined: Mon 17 Mar, 2014, 09:12
Posts: 1
Location: China,
I want to get the stochastic, So I find the indicators.stoch method,

the method : double[] stoch_1hour = indicators.stoch(instrumentXAUUSD, Period.ONE_HOUR, OfferSide.ASK,
25, 6, MaType.SMA, 6, MaType.SMA, 0);

but the result of the method is wrong when the period=Period.ONE_HOUR,

and the result of the method is right when the period=Period.FIFTEEN_MINS

I don't know what's happen!!!!

Need help!!!!!


 
 Post subject: Re: help me ! solve the problem of stoch indicator Post rating: 0   New post Posted: Mon 17 Mar, 2014, 18:35 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Describe "wrong".


 

Jump to:  

cron
  © 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