Why am I getting zero values in the function - page 2

 
honest_knave:

I don't really understand what you are trying to achieve.

Some objects are set by time / price    e.g. OBJ_RECTANGLE and OBJ_TEXT

Some objects are set by x / y     e.g. OBJ_RECTANGLE_LABEL and OBJ_LABEL 

You will need to pick the object type that suits your needs. 

Perhaps a screenshot will help us to understand?

I think I got it. Thank you all.