Debug a script to print line correctly

Job ID: 33403073

Budget: ₹600 – ₹1,500 INR

I have a script which takes in a start day, makes some calculation and adds days to this start day and plot them n the chart.

however i am not able to print these lines properly.

Secondly, i want some labels with dates which will come in the future based on calculations.
Related categories: Pine Script