Value of Fractals indicator.

 

Hi all ,

Please how can i get the value of the last Fractals indicator arrow, whether up or down? .

I am currently working on a code that will buy when the most recent(last visible) Fractals arrow is below the current price,

and i want the code to sell when the value of the most recent (last displayed)  Fractals arrow is above the current price.

Any help will  be appreciated.

 
jmorgan: how can i get the value of the last Fractals indicator arrow, whether up or down?
Loop backwards testing each mode until you find the first one that isn't EMPTY_VALUE.
 
WHRoeder:
jmorgan: how can i get the value of the last Fractals indicator arrow, whether up or down?
Loop backwards testing each mode until you find the first one that isn't EMPTY_VALUE.
Thanks a lot .
Reason: