OBJ_TRENDBYANGLE – troubles setting a trend line and reading its coordinates

 
Could anyone please help me draw a trend line of a specific angle and then read its coordinates?
I tried this and 1st of all it draws the line backwards instead of forwards and even so the coordinates (value by shift) returned are not correct

  datetime lt=Time[100];
  double l=Low[100];
  ObjectCreate("test",OBJ_TRENDBYANGLE,0,lt,l);
  ObjectSet("test",OBJPROP_ANGLE,30);
  //ObjectSet("test",OBJPROP_TIME2,Time[0]); // places the line forwards
   
  double i1=ObjectGetValueByShift("test",10);
  Alert("1=",i1);
  double i2=ObjectGetValueByShift("test",120);
  Alert("2=",i2);
  double i3=ObjectGetValueByShift("test",130);
  Alert("3=",i3);
Reason: