tradecombine
Member
I found this script for adding a custom watchlist column and it works fine for 15m and 30m. But it is not displaying correctly for 1h, nor 4h. I am sure it has to do with the aggregation periods not starting at market open. How do I force them to aggregate at market open?
The short answer:
Try this:Chart Settings > Equities > Axis > Time
Unchecked = Show Extended-hours Trading Session
Checked = Start aggregations at market open
The long answer:
Under Chart Settings for Equities, "Start aggregations at market open" appears to be impacted by whether or not Show Extended-hours Trading Session is turned on also.Where the 1 hour and 4 hour candles start is impacted by two settings: Start aggregations at market open and Show Extended-Hours Trading session. Based on experiments shown below, Start aggregations at market open only works if Show Extended-Hours Trading session is UNCHECKED.
Option 1: Hourly candle start at 8:30
UNCHECK "Show Extended-Hours Trading session"
CHECK "Start aggregations at market open"
Notice Agilent open on 2021, October 1st = 157.15, and the hour chart started at 8:30 AM!
Option 2: Hourly Candle start at 8:00
CHECK "Show Extended-Hours Trading session"
CHECK "Start aggregations at market open"
Notice Agilent open on 2021, October 1st = 157.22, and the hour chart started at 8:00 AM!
Option 3: Hourly candle starts at 8:00
CHECK "Show Extended-Hours Trading session"
UNCHECK "Start aggregations at market open"
Notice Agilent open on 2021, October 1st = 157.22, and the hour chart started at 8:00 AM!
Option 4: Hourly candle start at 8:00
UNCHECK "Show Extended-Hours Trading session"
UNCHECK "Start aggregations at market open"
Notice Agilent open on 2021, October 1st = 157.22, and the hour chart started at 8:00 AM!