I am trying to code the fibpivot with a DAILY period.
I am getting this error.
Strategy tester: com.dukascopy.api.JFException: Indicator [FIBPIVOT] cannot be run with periods longer than 10 Mins @ jforex.strategies.BaseStrategyHLv4_temp.onTick(BaseStrategyHLv4_temp.java:283)2013.08.10
Here is the code. Am I doing something wrong or is this a bug.
fibPivot = indicators.fibPivot(instrument, Period.DAILY, offerSide, 2, filter, 5, previousBar.getTime(), 1);
thx
|