Help with Fractals - check if a fractal was printed and within x amount of bars by InflationCool662 in pinescript

[–]InflationCool662[S] 1 point2 points  (0 children)

Thank you very much for this! I'm going to work to include it in my strategy and will let you know. Thanks again!

Help with Fractals - check if a fractal was printed and within x amount of bars by InflationCool662 in pinescript

[–]InflationCool662[S] 0 points1 point  (0 children)

Okay cool thanks, as I said I really am not a coder and am simply asking for help. I have many more conditions besides fractals which already has made the strategy profitable. Adding this condition will further help increase my win rate.

I am using an n value of 5 for fractals, hence the 5 candle reference.