Anchor plot arrow in custom indicator

Alex
77

Howdy traders,

I'm trying to figure out if it's possible to change the anchor position of the plot drawing in a custom indicator. Normally when I draw an object I would just call the following which works fine.

 

ObjectSetInteger(0, "my-object-1", OBJPROP_ANCHOR, ANCHOR_BOTTOM); 

 

However, I don't know what the object name is of my plot point within the indicator and I can't find anything about anchoring in the documentation for PlotIndexSetInteger