Download MetaTrader 5
To add comments, please log in or register
MQL5 Reference is available in 8 languages. Learn MQL5 in the language that suits you best!
forexparvenu
937
forexparvenu 2014.11.23 15:10 
honest_knave
954
honest_knave 2014.11.23 15:25  
forexparvenu
937
forexparvenu 2014.11.23 15:31  
honest_knave:

OBJ_EDIT

ObjectGetString

 

thanks...

coding now

forexparvenu
937
forexparvenu 2014.11.23 18:54  
honest_knave:

OBJ_EDIT

ObjectGetString

 

success create the text box for key in the value,

but how to get the value inside it ?

im using CHARTEVENT_OBJECT_CLICK for the button

 

   if(id==CHARTEVENT_OBJECT_CLICK)

   {

   if(sparam=="LotSizeToUse") 

   {

   // what should i put in here ?

   // StringToDouble ?? or StrToDouble ??

 

 

 

 

honest_knave
954
honest_knave 2014.11.23 19:00  

You should be able to retrieve it using

ObjectGetString(chart_ID,name_of_objedit,OBJPROP_TEXT)

 You can then typecast the text as a double, or use StringToDouble()

forexparvenu
937
forexparvenu 2014.11.23 19:09  
honest_knave:

You should be able to retrieve it using

 You can then typecast the text as a double, or use StringToDouble()

 

thanks for the help

 

trying now 

 


honest_knave
954
honest_knave 2014.11.23 20:12  
Glad to help
forexparvenu
937
forexparvenu 2014.11.29 09:55  
honest_knave:

You should be able to retrieve it using

 You can then typecast the text as a double, or use StringToDouble()

 

hi... i need some help here.
/
To add comments, please log in or register