simple pinescript code adjustment

Job ID: 36635229

Budget: $10 – $30 USD

i have some code I wrote for tradingview chart in pinescript, it take manual dates and time inputs and simply prints a vertical line at the date and time, it works and prints on chart however the vertical lines that are drawn are drawn in the future and not the past as they should be!
Related categories: Algorithm Pine Script Trading