Formula Results & Project Variables
-
How do I store formula result in project variable and how do I recall the variable in the right operand of condition blocks 14 & 21 as in the following example: http://fxdreema.com/shared/1UqxtLlid
Basically, I want to be able to use formula results with multiple blocks without having to physically connect the formula block with the other block.
Thanks

-
Upper_Part and Lower_Part are defined as global variables in MQL4 and they can be accessed from everywhere. You can use Value (numeric) and write variable name there.
Currently when you have Formula blocks, even if they are not connected, their "Result" variables goes into the final file, but I think this can be considered as bug and I can "fix" it some day... who knows.
Otherwise you can use "Variables" and "Modify Variables" block (or even Custom MQL4 code)... or custom block where it's easy to write some formula using known things

-
great, I'll give that a shot
