Hi everyone and support
I change both Platform time zone and Day start time for EET, but when I call caramila pivot (1 day) for 1 hour chart . the indicator can't get correct value, value from chart and value from indicator not same. What should I do for correct value both.
simple code call caramilla pivot .
long from = context.getHistory().getBar(instrument, Period.DAILY, OfferSide.BID, 1).getTime();
long to = context.getHistory().getBar(instrument, Period.DAILY, OfferSide.BID, 0).getTime();
double [][] pivot = indicators.camPivot2(instrument, Period.DAILY, OfferSide.BID, filter, from, to);
example: to day caramilla pivot calculate from last day bar.
today (3/5/2017) central point for AUD/CAD should be 1.03138 ( High+Low+Close/3 = 1.03444+1.02682+1.03288/3 ) this value correct same value from chart but when I call pivot for simple code indicator get a different value 1.02700 for central point?


apologize for my English.