Using ID0 on the daily filter shouldn't be a problem in this case.
This is a slight problem:
0_1570113639252_8e422ad8-f0f5-4c5b-8622-525de3ba94ef-image.png
You see, when candle ID 2 has no fractal, then its value is 0, which is below candle high. This will mess up your last_fractal variable and so on.
Since we know that fractals (up and down) have value 0 when there are no fractals, we don't have to compare price at all to find the fractals - simply use "fractal down != 0" and "fractal up != 0" as your blocks #51 and #52