The function ObjectGetString returns a string, not a double, just as the function name states.
By using DoubleToString, you are doing repeated conversions, from a string, to a double, to a string, and probably to a double again if the variable "value" is a double.
Assuming the tooltip text does in fact contain a numerical value, then consider one of the following options following ...
double value = StringToDouble( ObjectGetString( 0, OBJPROP_TOOLTIP, 0 ) );
double value = (double) ObjectGetString( 0, OBJPROP_TOOLTIP, 0 );
Regarding the rest of your issue, you have not shown the relevant code, so we can only guess.

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
Improperly formatted code edited by moderator. Please use the CODE button (Alt-S) when inserting code.