|
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.
Issue trying to use Fibpivot |
mac8008
|
Post subject: Issue trying to use Fibpivot |
Post rating: 0
|
Posted: Sat 10 Aug, 2013, 23:44
|
|
User rating: 0
Joined: Sun 16 Dec, 2012, 19:40 Posts: 2 Location: United States, Aurora
|
trying to use from code
fibPivot = indicators.fibPivot(instrument, Period.DAILY, offerSide, 2, filter, 5, previousBar.getTime(), 1);
I get an exception that it cannot be run for periods longer than 5 minutes.
If anyone has a working sample, or if this is a bug thanks in advance.
|
|
|
|
 |
API Support
|
Post subject: Re: Issue trying to use Fibpivot |
Post rating: 0
|
Posted: Tue 13 Aug, 2013, 07:57
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Please take a look at the documentation for Fibpivot. You have specified 10 minutes period for the timePeriod parameter (2), try specifying a Daily period (7) or a period greater than the Daily period, e.g. fibPivot = indicators.fibPivot(instrument, Period.DAILY, offerSide, 7, filter, 5, previousBar.getTime(), 1);
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|