Quote from Investopedia: "The obvious drawback here is that fractals are lagging indicators. A fractal can't be drawn until we are two days into the reversal."
I get that part about the past.
Here is the simple idea:
If the market made a bullish fractal - call it "low 2"- on day 0, which I know earliest 2 bars (days) later (given I use a 5 bar fractal) and this bullish fractal is higher than the last bullish fractal BEFORE - call that one "low 1"- so a higher low so to speak. Now I want to after enter long on day 3, so 2 days after low 2 (because it doesnt reveal itself any earlier).
The problem (at least for me) again:
How do I access the last bullish fractal (low 1) in my buying logic? This:
gives me somehow just the last bar and not low 1
I initally thought that
if self.fractal.fractal_bearish > self.fractal.fractal_bearish[-1]:
would do the job, but it doesnt.
I hope that this made sense.