Type of constant
-
Hi, Mr
Im back here after some break. I have question. I want use input constant to adjust value. Its plus pips valuewhen i wrote text in type of constant it give me error in compilate EA. What is correct format?
Thank youso much

-
string instead of Text, but what you are trying to do is not actually possible. Variable (or constant) is something that has a name (Delta_plus for example) and behind that name there is a value. That value can a number, a string or even an array, but in all cases the variable is only a reference to that value. You are trying to assign mathematical operation to a variable, which is not possible in any programming language that I know.
Instead, just make int or double constant with value of 1 and in the Adjust field write something like + Delta_plus pips
-
It works now. Thank you very much.