Draw H-Line on Current Year Open Price?
-
https://fxdreema.com/shared/f68DP51T
somehow the 'Find candle by [Time]' with timestamp is not working? Tried many combination and seem really not finding the candle by timestamp.. more likely to timeframe instead...
i hope to get the data (current year open price) and draw a horizontal line to mark it on the chart as reference... of course i could just mark it manually... but...
-
According to the info on your block, it will draw the line on the 2nd of January, 2019. That happened a long time ago. Try to put a closer day to present.
-
@vnpython-0 I think there are several possible reasons.
-
You set (at least in shared project) the angle to 45 degrees. So maybe you just don't see the line. Can you see the object in the object list <CTRL-B>?

-
Not enough history on chart. It may also be that there is not enough history on the chart - especially on M1 timeframe. Did you test in tester or demo account live chart?
-
-
@l-andorrà said in Draw H-Line on Current Year Open Price?:
According to the info on your block, it will draw the line on the 2nd of January, 2019. That happened a long time ago. Try to put a closer day to present.
i think the issue is the line is drawn to M1, M5, M15 ... etc instead of using the timestamp function of the block...
-
@trader-philipps said in Draw H-Line on Current Year Open Price?:
@vnpython-0 I think there are several possible reasons.
-
You set (at least in shared project) the angle to 45 degrees. So maybe you just don't see the line. Can you see the object in the object list <CTRL-B>?

-
Not enough history on chart. It may also be that there is not enough history on the chart - especially on M1 timeframe. Did you test in tester or demo account live chart?
-
the line is shown straight and not in angle.. i think that option only affects trendline by angle which i havent try..
-
hm.. maybe you're right.. i will try and let's find out...
-
-

as you can see... the 2019.01.02 where the arrow is but the H-line is down below, to the candle open of today (11/5/2019)
-
Honestly, I'm not an expert on this block :/.