How can I move the two objects at the same time ?

 

bool obj1 = ObjectCreate(0,"line1",OBJ_TREND,0,time1,price1,time2,price2);

bool obj2 = ObjectCreate(0,"line2",OBJ_TREND,0,time1,price2,time2,price2);


How can I move the two objects at the same time ?

when i move someone with the mouse

the other does not follow him

You can write me an example?

thank you.

Reason: