Bool pass - True
-
I have a simple one guys and I cannot remember how I done it.
I need to set a bool to say that the condition is true then continue with the rest of my condition blocks.
I have a candle crossing over a Moving Average then I want it to cross over in the opposite way, so I would need a bool to pass that condition to say "yes it's met"
I tried putting both conditions on below the other but it obviously didn't work.
Please advise!
-
x> set bool to true, x< check 1st bool - run other blocks, same blocks but backwards in another tree connected to the other blocks. Rest 1st bool when no longer valid. If you struggle to get this working, add a shared link to look at.
-
@jstap my friend, my logic is on point and I do appreciate your advise.
I would like to simply know how to run a bool using a condition block to pass the condition before it.
That's all.
I can remember doing so using a variable (next to constants) in a past project but deleted it by accident.
Thanks!
-
I thought I explained how, so maybe you should ask how to to the 1 thing you are struggling with... so now my sarcastic comment, you cannot change a constant from your robot, you can change an enum value in a variable, but this is a variable...
-
I do know I cannot change a constant. It is quite evident now you are not reading clients' messages properly....I said "next to constants" in brackets! With all due respect buddy, the only reason I initially explained my query in depth is to allow you to know what I needed....it was to give you a keen insight into what needed to be done. All I would like to know, in all simplicity is how to place a bool. Thanks for your dedication!!
Should have just kept my question nice and simple lol
-
It's ok, I need to use a set flag. I figured it out. Thanks
-
You are welcome, I like many like to help others on here. It tends to be easier and more efficient to everyone if there is only a simple thing to answer. Then when implemented you can test and ask more. It helps people learn what they need to do for themselves.
have a good day
-
@jstap I do apologize, I will keep it short and simple next time.
-
