Dark Ryd3r:
If its a Vertical line, then just read "ObjectGetInteger()" the time coordinate "OBJPROP_TIME" of its anchor point.
I have an object OBJ_VLINE (vertical line) on chart with name "vline" with datetime 2021.06.08 00:00:00
I see I can not use ObjectGetTimebyValue as it does not support OBJ_VLINE
So how can i get datetime value of OBJ_VLINE?
Fernando Carreiro:
If its a Vertical line, then just read "ObjectGetInteger()" the time coordinate "OBJPROP_TIME" of its anchor point.
worked perfectly. Thank you
If its a Vertical line, then just read "ObjectGetInteger()" the time coordinate "OBJPROP_TIME" of its anchor point.
Dark Ryd3r: worked perfectly. Thank you
You are welcome!
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
I have an object OBJ_VLINE (vertical line) on chart with name "vline" with datetime 2021.06.08 00:00:00
I see I can not use ObjectGetTimebyValue as it does not support OBJ_VLINE
So how can i get datetime value of OBJ_VLINE?