How do I calculate it trendline time 2 value?
-
Please help! How can I draw a trend line so that the end is until the next candle. I should somehow calculate the time 2 value.
-
@Bandito7 try this: TimeCurrent() + PeriodSeconds()

-
Now drag it along. I just want it up to the green line.

-
I corrected the first picture.

-
Just dont update your object, now you are updating your objects continually
-
I do not understand. I will not update.
Can you help me set it up?

-
Try setting A -> Yes, B -> No
-
Thanks, but unfortunately it doesn't work. I already tried. It should be drawn up to the 50th candle, but this way it only draws the first ones, but not well.


-
@Bandito7 I dont know what your whole project is about. From the picture I can see the 2 lines correctly extend until the next candle, and that was your original question. So problem solved.