Using constants with 'Adjust'
-
With the function 'Adjust' it is possible to tweak a certain value. When I use text: '+5 pips' it is working fine. Now I want to use a Constant in stead of the text. I made a string constant with the value'+5 pips' but this time the EA does not add 5 pips to the original value. What am I doing wrong here?



-
@Wijnant it's not a string, it is a "int"
-
@ambrogio Thank you for you answer but I tried ´int´. Then the + sign won't appair and the EA won't even open trades at all.
-
@Wijnant remove + sign and pips also, leave 5 only
In case of negative number put the - sign before past the constant -
-
-
@Wijnant you're welcome!
-
@ambrogio thx u