Anchor point coordinates are set in pixels. You can select anchoring corner from ENUM_BASE_CORNER enumeration.
Symbol, period and scale can be selected for Chart object. Price scale and date display mode can also be enabled/disabled.
The following script creates and moves Chart object on the chart. Special functions have been developed to create and change graphical object's properties. You can use these functions "as is" in your own applications.