The 5 th digit in a Global Variable disapeared ??
-
Hello all again.
I need my Gloval Variable "ENTRADA1" to be with 5 digits after point. (1.31875 F.E.) and I only get 4 after fill it automatically with the "Set Global Variables in MT4" Block.
I fill it like this --> http://prntscr.com/8gx4nv
As consequence, this condition is not working correctly http://prntscr.com/8gx624
But if I change the right operand instead of "VARIABLE1" to a manual entered number in "Set Global Variables in MT4" block, it works perfectly.
Is it needed to set/adjust something ???
Thank you.
-
Why do you still use those Terminal Variables? Do you really, really, really, really, I mean do you really want to use them instead of the regular global variables?
This block called "Set Global Variables" was renamed to "Terminal Variables" long time ago. Well, I still need to update some naming inside it, but this block also works with the Terminal Variables. Do you really want to work with these?
And for the question, I don't know, maybe this value has 0 at the end that is not displayed. Obviously the value above has 5 digits
-
I have in my download laptop version "set global variables " block, but I don´t have "terminal variables" block, anycase I´m using Global Variables.
The question is If I write the number manually it works but if "set global variables " is filling the field 4 digits as described above, so it means that block should not work properly , agree ??
-
I don't remember how months ago I renamed them to Terminal Variables, I guess you are using some old version. But anyway, I will suggest to understand the difference between those two different types of variables. The normal variables exists inside the EA and it's global for all it's functions, while the other are variables used to transfer data between EAs in the same MetaTrader. Those terminal variables are like cookies in the browsers - they are stored in files.
-
Sorry but
The question is If I write the number manually it works, but if I use "set global variables " to fill a Global Variable, the 4 digits as described above appeared if F3 , so it means that block should not fill properly , agree ??
-
https://fxdreema.com/shared/0jRPG1yJc
http://prntscr.com/8i0ph1Maybe the open price has 0 at the end and it's not displayed