-
Don't double
post! You already had this thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum - Jackery: I am using the following code to draw an arrow, how can I tell which candle the arrow object is drawn on?That code does not "draw an arrow." It sees if a red arrow (of some arrow code) exists.
- Once you find the object, read its time and use iBarShift to find the candle index. Perhaps you should read the manual.
ObjectGetInteger → ENUM_OBJECT_PROPERTY_INTEGER → OBJPROP_TIME (coordinate zero.)
I am using the following code to draw an arrow, how can I tell which candle the arrow object is drawn on?