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?
- Creating a ready-made Expert Advisor - MQL4/MQL5 Wizard
- Analytical Objects - Price Charts, Technical and Fundamental Analysis
- Setup - Toolbars
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
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:
// input here TP value
// input here TP value
That would change the variable name but the input field would still show 0
Fernando Jose Velasco Borea:
Can you show example what are looking for?
That would change the variable name but the input field would still show 0
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.
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?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register