Fractal question

 

Hello,

I am trying to get some information on how standard fractal function works. I know a fractal is when highest point is in the middle of 5 bars and vice versa. What I am trying to figure out is what the function returns, is it the actual value ie high or low. the other question is does the indicator only return a value on the bar in which it finds it or does it carry that value until a new fractal is found. what I am trying to do is create 2 2 dimensional arrays that store the past 5-10 identified fractals and the bar in which it happened. Thanks for any help.

Chris

 

Just write a code for yourself with the assumption with the five candles you gave. Would be the easiest compared to fiddling around with the fractal function.