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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.