Change swing point logic in Study "Fractal"

andytang32

New member
Joined
Aug 24, 2023
Posts
1
Likes
1
May I know how to create a study to identify Swing high & low with different swing point logic?

As learnt from the official website of Fractal (https://www.motivewave.com/studies/fractal.htm), the swing point logic is like this
It is a top if
- High[-4] < High [-2]
- High[-3] < High [-2]
- High[-2] > High[-1]
- High[-2] > High[0]
May i know how right a new study / change it to below logic ?
- High[-4] < High [-2]
- High[-3] <= High [-2]
- High[-2] >= High[-1]

- High[-2] > High[0]
Thanks
 
Top