Thanks for the reply. I was able to get help from support. The issue is the order of the codes.The bars mode should be above the bars being generated.

I was able to get the chart aligned on UTC time but now next issue, the plot shows a giant bar between previous day's close and today's open as shown in the attached. I suspect because of these giant bars between daily close and open, I could not get a simple ATR calculation to match with Sierra Chart( where the data is from) or Tradingview. Any Idea? Thx

Attached Files Capture.PNG