waiting for blocks to pass question
-
From reading the examples tab, on the above topic , I have confused myself. Please help to untangle me.
Example 1, I believe that block 1 will pass but then will not run again till block 2 passes. So then if the EA is waiting for block 3, what is block 1 doing. as block 2 is in a pass state.
Example 2, Will run on every tick
Example 3, I have not used flags or boolean in an EA, So I think this is a very basic example, on how to use.Previously on example 1, I had different areas of blocks to run and was turning blocks on and off to ensure that blocks run on every tick. I then changed to example 2 to ensure HTF blocks ran on every tick. Then recently read a post on using booleon over flags.
So for instance you may have a daily time frame with a 3 EMA CROSS to set market direction, and when matched looked at a MACD on a LTF for a signal to buy or sell.
-
-
ALL blocks will run every single tick except for singe blocks. The minimum operational structure needs at least 2 blocks.
-
Blocks ARE NOT executed in their ID number. All blocks on top of each tree are executed first and then all those beloew it, no matter its number. Once the whole tree was executed, the heading block on top with the lowest number is executed and so forth.
-
-
from this page: https://fxdreema.com/howto
from Waiting for blocks to pass: Two crossoversI got confused with the 3rd paragraph. Last sentence starting with "Now the first condition will not run again...

-
@sli1-0 Oh, man! That feature is very, very confusing.
I never used it because it is unnecesarily counterintuitive. My suggestions is to simply avoid it. -
when you say you avoid it. What does this mean. I read this and think that any EA built which daisy changes, there are times that block 1 will not run as it is connected to an other condition, (as in my example1), that's why I changed to example 2 going horizontal (as in example 2), and will move to using flags.
-
@sli1-0 Just do not use that option, this is what I am recommending. However, maybe some other subscribers can help with it. I honestly don't see when and why is this feature recommended.