Calculating gold eod prices when current future contract ends and next month contract

Dear friend,
Help me in calculating seamless end of the day prices from mcx future prices for charting.
Switching current month contract prices to future month at end of the month creates jump in charts,Because of the premium in next month contract.

Thanks in advance,

Similar threads

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Are you a day trader?