Hi all, I am a Spanish trader. First, I apologize for my bad English. I'll explain what I need.

I trade DAX. When start the day, we usually start with Gap, so previous day's closing and opening of this day are different

So, the indicator that I need:

- Two horizontal lines (opening day and previous day close). Opening (time 8:00). Close (time: 21:45). [In chart: red and green lines]. Sometimes it will close above the opening and other times it will be backwards. [The line is above: green. The line that is below: red]

- Two horizontal lines (opening day and previous day close). Opening (time 8:00). Close (time: 21:45). [In chart: red and green lines]. Sometimes it will close above the opening and other times it will be backwards. [The line is above: green. The line that is below: red]

Hello coders,
Any one can help, fix this indicator, this indicator shows each highs and lows, but when i scroll chart fast or restart mt4 platform the indicator will shows like this way in the picture( which attached picture)
i want to make sure ist there any coding problem there ? im not a coder, i just received from the web
thanks in advance

and one more picture atrahced that how normaly the highs and lows shows in the chart please check both pictures