Message on default parameters with int or double values[Code help]

To add comments, please log in or register
Fernando Jose Velasco Borea
896
Fernando Jose Velasco Borea  
I'm developing some tools that requires by default to have a 0 value so the trader can customize them but I'd like to know if there's a way to set on a double value a default message like "Input here the TP value" or something like that?
Mohamad Zulhairi Baba
22875
Mohamad Zulhairi Baba  
Fernando Jose Velasco Borea:
I'm developing some tools that requires by default to have a 0 value so the trader can customize them but I'd like to know if there's a way to set on a double value a default message like "Input here the TP value" or something like that?
input double TPValue = 0; // input here TP value
Fernando Jose Velasco Borea
896
Fernando Jose Velasco Borea  
Mohamad Zulhairi Baba:
// input here TP value

That would change the variable name but the input field would still show 0

Mohamad Zulhairi Baba
22875
Mohamad Zulhairi Baba  
Fernando Jose Velasco Borea:

That would change the variable name but the input field would still show 0

Can you show example what are looking for?
Alain Verleyen
38525
Alain Verleyen  
Fernando Jose Velasco Borea:
I'm developing some tools that requires by default to have a 0 value so the trader can customize them but I'd like to know if there's a way to set on a double value a default message like "Input here the TP value" or something like that?
Possible only if you use a string parameter and convert to a double later.
To add comments, please log in or register