Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

help me ! solve the problem of stoch indicator
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=81&t=50925
Page 1 of 1

Author:  lancerding [ Mon 17 Mar, 2014, 09:31 ]
Post subject:  help me ! solve the problem of stoch indicator

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!!!!!

Author:  tcsabina [ Mon 17 Mar, 2014, 18:35 ]
Post subject:  Re: help me ! solve the problem of stoch indicator

Describe "wrong".

  Page 1 of 1