|
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.
perbsbands indicator parameter |
ericbiz
|
Post subject: perbsbands indicator parameter |
Post rating: 0
|
Posted: Fri 20 Apr, 2012, 12:10
|
|
User rating: 1
Joined: Wed 07 Mar, 2012, 05:56 Posts: 101 Location: New CaledoniaNew Caledonia
|
|
|
|
 |
API Support
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 0
|
Posted: Fri 20 Apr, 2012, 15:10
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
There are no such indicator "persbands" in JForex
|
|
|
|
 |
ericbiz
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 0
|
Posted: Fri 20 Apr, 2012, 15:37
|
|
User rating: 1
Joined: Wed 07 Mar, 2012, 05:56 Posts: 101 Location: New CaledoniaNew Caledonia
|
sorry my fault
the real name is PERSBBANDS.
so what are the parameters that must be applied?
|
|
|
|
 |
API Support
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 1
|
Posted: Tue 24 Apr, 2012, 09:39
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Here is an example of calling persbbands double[] persbbands = (double[]) indicators.calculateIndicator( Instrument.EURUSD, Period.TEN_MINS, new OfferSide[] { OfferSide.ASK }, "PERSBBANDS", new AppliedPrice[] { IIndicators.AppliedPrice.CLOSE }, new Object[] { 20, 2.0 }, Filter.ALL_FLATS, 10, bar.getTime(), 0)[0];
|
|
|
|
 |
ericbiz
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 0
|
Posted: Tue 24 Apr, 2012, 13:08
|
|
User rating: 1
Joined: Wed 07 Mar, 2012, 05:56 Posts: 101 Location: New CaledoniaNew Caledonia
|
|
|
|
 |
ericbiz
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 0
|
Posted: Tue 24 Apr, 2012, 14:02
|
|
User rating: 1
Joined: Wed 07 Mar, 2012, 05:56 Posts: 101 Location: New CaledoniaNew Caledonia
|
can you explain these parameters please :
10, bar.getTime(), 0)[0];
i mean, the number 10 and 0 and [0]
thanks
|
|
|
|
 |
API Support
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 0
|
Posted: Wed 25 Apr, 2012, 08:48
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
10 - The method gets 10 indicator values. The last value corresponds to bar.getTime() 0 - No values after bar.getTime() are considered [0] - takes first output parameter of PERSBBANDS (even though in this case PERSBBANDS has only one output parameter) please also see https://www.dukascopy.com/wiki/#Indicator_Calculation
|
|
|
|
 |
ericbiz
|
Post subject: Re: perbsbands indicator parameter |
Post rating: 0
|
Posted: Wed 25 Apr, 2012, 09:29
|
|
User rating: 1
Joined: Wed 07 Mar, 2012, 05:56 Posts: 101 Location: New CaledoniaNew Caledonia
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|