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.
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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