Draw Text to a dynamic line
-
In my EA I draw two lines: Breakeven Line and Take Profit Line. Now I want to add a text to these lines at the very left of the chart: "Break Even BUY" and "Take Profit BUY". As the lines can go up and down the text should also go up and down. I tried to do this with block Draw Text, with Time and Price but was not successful as the text is not shown on the chart. Any solution?

-
try to do a draw arrow, and use Candle 0.
-
@bhovens I'm not completely sure that is possible in fxDreema. I guess (and it's just a guess) that lines ans texts are compeltely independent so that trying to link them in the way you want should require custom code. Can anyone confirm?
-
@l-andorrà I found a spot yesterday where FXDreema himself made some blocks and posted the share, If I come across it again I'll put it in here.
But it had represented a certain value by putting a small arrow to the top of the candle and the value would move up and down with the top of the candle.
-
@jsauter86 Please don't hesitate to post it here.
-
-
@jsauter86 Very interesting. Thank you.
-
@TipsyWisdom said in Draw Text to a dynamic line:
try to do a draw arrow, and use Candle 0.
I don't understand that there is an option called text in Metatrader, how come there is nothing here?