Download MetaTrader 5

ObjectSetInteger doesn't work anymore with OBJPROP_TIME

To add comments, please log in or register
danielth
63
danielth  

I cannot make this script work anymore (with build 231) 

  ObjectSetInteger(0,"MyTrendLine",OBJPROP_TIME,0,MyTime);
it returns true but has no effect on the trendline (it used to work fine with the previous builds).

 

On the other hand,

MyTime=ObjectGetInteger(0,"MyTrendLine",OBJPROP_TIME,1);

works fine now (it didn't work with the previous builds)

To add comments, please log in or register