Fractal A type of pattern used in technical analysis to predict a reversal in the current trend. A fractal pattern consists of five bars and is identified when the price meets the following characteristics:
1. A shift from a downtrend to an uptrend occurs when the lowest bar is located in the middle of the pattern and two bars with successively higher lows are positioned around it.
2. A shift from an uptrend to a downtrend occurs when the highest bar is located in the middle of the pattern and two bars with successively lower highs are positioned around it.
this is one the best Code but i don't know how i can add strategy.close to your code
mincho1010
⋅
Hello, very good script man! Thank you I propose a modification to you, or ask for your help to do it myself. Only draw lines if the last 2 fractals are opposite. If the last 2 fractals are in the same direction, don't draw lines. I am trying to write a code with the Stpatterns strategy
ASIFKERIM
⋅
Thanks Bro, Can we covert as an indicator please
Kryptochristian
⋅
@hjsjshs, What he said this would be very strong as an indicator with alerts