MW 7 Issue Discovery

igor.s

Well-known member
Joined
May 22, 2019
Posts
388
Likes
196
I have found an issue, that I submitted to the MW team, and until it gets resolved, be aware of. The issue with studies that use higher timeframes. For example: Pivot Points, Previous Period Range and etc. This is how it gets noticed, say M5 chart add the Pivot Points study and select Monthly timeframe. The created pivot levels are wrong, the reason is the higher timeframe dataset returns incorrect HLC for the previous month. If you change the main chart timeframe from M5 to 1D the pivots will be calculated correctly. The previous stable version 6.9.12 did not have that issue.

I did debugging.
I'm referring to this snippet:
....
var barSize = getSettings().getBarSize(Inputs.BARSIZE);
var series2 = ctx.getDataSeries(barSize);
...
The issue is discovered on Mac Apple Silicon. I did not try other platforms.

You may use other studies but if those studies relies on higher timeframe data the issue may impact the outcome.

cheers.
 
Top