I am trying to make an indicator that just draws a line every quarter hour to help me be able to keep track of time better.
Right now it only draws one line at the nearest hour. I am new to mql so any help would be greatly appreciated.
if(Minute()== 00 || Minute()== 15 || Minute()== 30 || Minute()== 45)
Try the following code:
I want to thank you so much for your help. I learned a lot today about MQL programming and how to set buffers and how the time functions work.
All and all after much searching I found an indicator doing what I wanted.
Thank you again for helping me understand MQL more.