Daily Pivot Points shifted for different day start time – indicator MetaTrader 4

Daily Pivot Points shifted for different day start time - indicator for MetaTrader 4
This indicator plots horizontal lines at daily pivot levels R3, R2, R1, Pivot, S1, S2 & S3, using a day that is advanced (or retarded) from the server time (called Pivot Day). You can see in the illustration, that the pivot lines start earlier than the server time days (except for the most recent day,