Daily Open Line

 

Hello all, 

I'm not a programmer by any means, but I have this simple indicator that I downloaded from this site to draw a line from the daily open.  what I would really like to do is to change this to draw the line across to the days end as soon as the first candle prints.  rather than the line painting bar by bar.


can anyone help me out ? 


many thanks~!!!

Files:
 
Florin: draw the line across to the days end as soon as the first candle prints.  rather than the line painting bar by bar.
  1. You can't use nonexistent buffer elements.
  2. Draw the trend line with a future end datetime.