Not sure if it's a bug, or my use of it
I'm drawing daily Pivot lines but they don't seem to correspond with daily values from:
double[] pp = indicators.pivot(instrument1, Period.DAILY,
OfferSide.BID, 7, 0);
or actually with a lag of one day: so when I look the chart I don't know if the lines are right, or if the code above is right...
example below, pivot values the 20th on the chart are the one get the 21st with jforex api
2013-06-18 22:15:00 Pivot: 1.33539, 1.33895, 1.33264, 1.3417, 1.32908, 1.34526, 1.32633
2013-06-19 18:30:00 Pivot: 1.3378, 1.34304, 1.33404, 1.3468, 1.3288, 1.35204, 1.32504
2013-06-20 07:30:00 Pivot: 1.33197, 1.33775, 1.3224, 1.34732, 1.31662, 1.3531, 1.30705
2013-06-21 12:30:00 Pivot: 1.32297, 1.32981, 1.31591, 1.33687, 1.30907, 1.34371, 1.30201
see this code compared to the 2 charts:

