Thank you, perhaps I was dreaming when I posted this code...
For searching about my problem I found this code
https://www.mql5.com/en/code/10178
there the function "CurTime()" is used.
From where is this CurTime() function? What is the difference zu TimeCurrent()??
I have the problems with drawing lines in many different cases, so it is actually difficult to post the right source.
Could it be, that a missing bar makes problems or ...? Has anybody from you sometimes wrong painted lines.
Here I found another question:
Is it better to program the calculation of the pivot times this way
ArrayCopyRates(Day_Price,(Symbol()), 1440); YesterdayHigh = Day_Price[1][3]; YesterdayLow = Day_Price[1][2]; YesterdayClose = Day_Price[1][4]; ...
Then using the prices like
iHigh(Symbol(),PERIOD_D1,1)and so on!
Thank you, perhaps I was dreaming when I posted this code...
For searching about my problem I found this code
https://www.mql5.com/en/code/10178
there the function "CurTime()" is used.
From where is this CurTime() function? What is the difference zu TimeCurrent()??
I have the problems with drawing lines in many different cases, so it is actually difficult to post the right source.
Could it be, that a missing bar makes problems or ...? Has anybody from you sometimes wrong painted lines.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Sometimes I have problems with drawing lines. In some Timeframes the lines are shiftes and I can't understand why.
Can anybody see something wrong.?