EA and Fibonacci Levels
-

Does this mean the EA will buy if price retraces to somewhere in between Fib levels 50 and 75? (Yes I added these levels in the levels section of the draw fib block)

If not, how do I make the EA buy if price retraces to somewhere in between 50 and 75?
-
You need to call this fib level in another block, you can see how to do it in this link: https://fxdreema.com/forum/topic/19269/using-fibonacci
-
Thanks, I'll check it out.
-
Another question - how do I make my conditions relate to the most recent Fib drawn, not just any Fib? As the most recent Fib at any given time could be named anything from Fib2 to Fib{infinity} (depending on how many fibs the ea has drawn), how could I select it for a certain condition or other action?
-
@jstap I've looked at the code you shared but I'm still not sure what you mean by calling the fib level in another block-
-
I mean 1 block creates the fib levels, and another gets the value. that link did not have everything, this shows how to get the level: https://fxdreema.com/shared/EoX28xy3b
-
If I pick by name like this, and I have 20 Fibs on the chart

The condition block will automatically act on the most recent fib?
-
@Fingon Okay thanks, but what are levels 0-31? I now see how to save the price of a particular fib level as a variable, but how do I select levels like 38,100, 14.6 etc using this levels 0-31 thing? What do numbers 0-31 correspond to on a real fib?
-
You can see this in my link, it will react to the name you used to draw the fib
-
@jstap said in EA and Fibonacci Levels:
You can see this in my link, it will react to the name you used to draw the fib
When it comes to the code you shared, those variables (FIBO_1 to 11) will contain data from the Fib named F. In your code, there is only one Fib, so that is the one the variable's will contain data from. In my code, there will be many Fibs. Which of those fibs will my variables contain data from? The most recent one?
-
F = the block name in mine, use the same principle but the name you used in yours.
-
@jstap OKay thanks, will try now.