peerchemist / finta

Common financial technical indicators implemented in Pandas.
GNU Lesser General Public License v3.0
2.13k stars 688 forks source link

Williams Fractal Backtesting #127

Open yavuzaytekin opened 2 years ago

yavuzaytekin commented 2 years ago

Hello guys, I want to use Williams Fractal on my bot. I reviewed your code but I don't understand what value you use in the test?

101 PR is that.

assert fractals.BearishFractal.values[-3] == 0

What does the value -3 mean? If I want to use period 9, what value should I write there?