draw Custom time trendline

 

Hi guys 

I want code draw line of high PERIOD_D1 8:00 2 day ago  to high PERIOD_D1 8:00 yesterday in H1 timeframe 

Thanks

Documentation on MQL5: Constants, Enumerations and Structures / Indicator Constants / Drawing Styles
Documentation on MQL5: Constants, Enumerations and Structures / Indicator Constants / Drawing Styles
  • www.mql5.com
Drawing Styles - Indicator Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Files:
Capture.PNG  112 kb
 
web fx: I want code draw line of high PERIOD_D1 8:00 2 day ago  to high PERIOD_D1 8:00 yesterday in H1 timeframe

You draw lines on the chart, not on a timeframe.
          Find bar of the same time one day ago - MQL4 programming forum #1 & #6 (2017)

 
William Roeder #:

You draw lines on the chart, not on a timeframe.
          Find bar of the same time one day ago - MQL4 programming forum #1 & #6 (2017)

thanks did not get it Please explain 8 o'clock yesterday = code?