Fractal ea coding question

 
How can I define the fractal in the chart and use coding to assign which fractal to use?
 
johntsai:
How can I define the fractal in the chart and use coding to assign which fractal to use?
iFractals();
 
Daniel Cioca #:
iFractals();
How to use this function to find fractal one to left, two to left or to right? 
 
 
johntsai #:
How to use this function to find fractal one to left, two to left or to right? 
What do you mean “to right “ ? You want to know where the next fractal will form? 
 
Daniel Cioca #:
What do you mean “to right “ ? You want to know where the next fractal will form? 
Current to the left, to the right might not be needed for the backrest purpose.
 
johntsai # to the right might not be needed for the backrest purpose.

To the right is the future and can not ever be known.

Reason: