Create Vline at 0:00

 

Hello, Im newbie in coding.

I would like to create function, which generates single VLine at 0:00 previous day. Then, function should move every next day the VLine at previous day 0:00.

Can you help me design this function, please?

 
  1. Unless you are using the H4 (D1 and higher makes no sense) just enable period separators: Control+Y, or Charts → Properties (F8) → Show period separators.
  2. Or on a new bar, if the time is midnight, make your object.
              Find bar of the same time one day ago - Simple Trading Strategies - MQL4 programming forum

  3. Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
              No free help

    Or pay someone. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum