Hello.
I discover that Clssic/regular Pivot point calculation are not correct.
This NQZ4 weekly pivot point is ( pH + pL + pC) / 3 = (20 508 + 19 902 + 20 450) / 3 = 20 287
(you can take the value here : https://www.investing.com/indices/nq-100-futures-historical-data
But the motivewave weekly NQZ4 pivot point is 20 274 (see picture).
You can verify with Daily and Monthly of course. there is the same issue. and it impacts all Support and all resistance of course
I think the problem is comming from 'time' value the java code used for the Study :
They put this comment in the code:
the Study does not take the closed value as they add a bit of time so automatically it takes the next value that is the OPEN value of the next day.
What do you think about this conclusion?
I discover that Clssic/regular Pivot point calculation are not correct.
This NQZ4 weekly pivot point is ( pH + pL + pC) / 3 = (20 508 + 19 902 + 20 450) / 3 = 20 287
(you can take the value here : https://www.investing.com/indices/nq-100-futures-historical-data
But the motivewave weekly NQZ4 pivot point is 20 274 (see picture).
You can verify with Daily and Monthly of course. there is the same issue. and it impacts all Support and all resistance of course
I think the problem is comming from 'time' value the java code used for the Study :
They put this comment in the code:
" // If the trading hours are off by a little bit, its possible that the time from the daily bar
// is actually on the previous day. Add a bit of time here to work around »
time = instr.getStartOfDay(time + 6*Util.MILLIS_IN_HOUR, ctx.isRTH());
if (ctx.isRTH() && time < series2.getStartTime(i) - 6*Util.MILLIS_IN_HOUR) time += Util.MILLIS_IN_DAY;
end = Util.getEndOfBar(time, time+barSize.getSizeMillis(), instr, barSize, ctx.isRTH());
the Study does not take the closed value as they add a bit of time so automatically it takes the next value that is the OPEN value of the next day.
What do you think about this conclusion?