Download MetaTrader 5

OBJPROP_SELECTABLE

To add comments, please log in or register
Hundreds of articles will help you to create a trading robot. Come and read them!
bm0899
186
bm0899 2016.07.18 15:13 

I have an old MQ4 code which must only be compiled on old compiler. When compiling I get an error "'OBJPROP_SELECTABLE' - variable not defined".

 

Is there an alternative to  OBJPROP_SELECTABLE - in the old MQL4 language?

Marco vd Heijden
Moderator
4701
Marco vd Heijden 2016.07.18 15:38  
ObjectSetInteger(0,name,OBJPROP_SELECTABLE,0);
bm0899
186
bm0899 2016.07.21 03:06  
Marco vd Heijden:

 

The above did not help, as I still get a compiling error OBJPROP_SELECTABLE or OBJPROP_SELECTED variable is not defined.

Also, ObjectSetInteger - does not seem to know this function exists. 

I have to useMetaEditor build 509 (older) as my code is in old and it does not work properly if compiled using newer MetaEditor compiler. 

Any help from anyone?? 

 

 

To add comments, please log in or register