|
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.
calculateIndicator() for AppliedPrice |
spaudik
|
Post subject: calculateIndicator() for AppliedPrice |
Post rating: 0
|
Posted: Sun 09 Oct, 2011, 18:12
|
|
User rating: -
|
output of stoch indicator is equal for any selection of AppliedPrice.*
indicators.calculateIndicator(myInstrument, myPeriod, new OfferSide[]{OfferSide.BID}, "stoch", new AppliedPrice[]{AppliedPrice.WEIGHTED_CLOSE}, new Object[]{fastKperiod, 3, MaType.SMA.ordinal(), 3, MaType.SMA.ordinal()}, 0);
|
|
|
|
 |
API Support
|
Post subject: Re: DDSJFX-570 calculateIndicator() for AppliedPrice |
Post rating: 0
|
Posted: Tue 11 Oct, 2011, 07:58
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Stochastic indicator uses various types of prices (close, high, low) these types are defined inside the indicator. There's no point in providing the applied price value for Stochatic indicator calculation, simply set the value of the parameter to null.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|