Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fractal Indicator #31

Open
JoeTonDev opened this issue Jul 18, 2023 · 0 comments
Open

Fractal Indicator #31

JoeTonDev opened this issue Jul 18, 2023 · 0 comments
Labels
indicator Something with indicator implementation

Comments

@JoeTonDev
Copy link

The formulas for fractals are:
Bearish Fractal=
​High(N)>High(N−2) and
High(N)>High(N−1) and
High(N)>High(N+1) and
High(N)>High(N+2)

Bullish Fractal=
​Low(N)<Low(N−2) and
Low(N)<Low(N−1) and
Low(N)<Low(N+1) and
Low(N)<Low(N+2)

where:
N=High/low of the current price bar
N−2=High/low of price bar two periods
to the left of N
N−1=High/low of price bar one period
to the left of N
N+1=High/low of price bar one period
to the right of N
N+2=High/low of price bar two periods
to the right of N

@amv-dev amv-dev added the indicator Something with indicator implementation label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indicator Something with indicator implementation
Projects
None yet
Development

No branches or pull requests

2 participants