Get the position from arrows

 

Hello,

I want to insert a few arrows "Stop Sign" in the Chart and afterwards I want to get the X-Position from the arrows back with the command

ObjectGetValueByShift("arrow_Name",i)

while i is the arrow (Shift) Position in the Chart.

But that doesn't work...the value is always zero....

can you help me?

The idea is: I want to mark some candles for further calculation in an EA.

 

To get the price value

ObjectGetDouble(0,"arrow_Name",OBJPROP_PRICE)

To get the Time value

ObjectGetInteger(0,"arrow_Name",OBJPROP_TIME)

 You can use iBarShift with the Time to find the bar that the arrow is on

Reason: