Constant input
-
Hello everyone
Im new to the constant input so i have a question about it. Where can i all the different kind of type and name.
For example: if i want a tp, sl, adjust. Should i use double or int and does the name needs to begin with "My" with a caps?
-
@William-1 name can be anything, doesnt matter.
Datatype is usually double, unless you want a text setting. https://www.mql5.com/en/docs/basis/types
-
Does goes with adjust. Cause it have number and tekst. For example "+100 pips"
Whats the difference between "int" and "doub".
The reason i ask is i dont understand the link you gave to me
-
If your constant name is "myconstant" write this in the adjust: "+myconstant pips"
int = integer, whole number
double = any number or fraction