Expiert
-
https://fxdreema.com/shared/E8KktxMQ
Please what is the problem with this expert?
-
Your variable name is a string not a bool, start with normal variables/constants, when working change for global
-
Do you mean that I should delete bool and use string instead??
-
Yes but don't use terminals until you have it all working, terminal variables have a value (f4) but they are saved as a name.
-
https://fxdreema.com/shared/c8x9oBFT
I added this block and it started working properly. I want your opinion because it is important to me.
-
I do not know what you think is right about using the same constant as a name as for the value, this will work but every time you change the value another variable will be created, you do not need terminal variables, so get it working with normal before adding terminals, then you will know how to add to keep it working as needed.
-
This means that you advise me to use string instead of bool.?
-
Well sort of, a bool can be used for the value, but the name is a string. a number, a bool, string is a value that can be used as a name, or a value. I think you are making your life hard by using terminal variables...