Hi
@CougarTrader I tried checking this particular issue with IB support as well. The hourly chart on TWS has issues. The first candle is 9:15 to 9:30 and then the rest of candles are 9:30 to 10:30 and so on..i was checking for NFITY...they said its by design and i need to raise a feature request. I said, what the hell!! this is basics of charting. Do you see the same ?
I also see the same behavior. Perhaps it is to align with the market closing time of 3.30 pm.
We are fixating 1 hour timeframe for our discussion.
If you check TradingView Hourly charts, the first candle starts at 9:15, next at 10:15, so on each candles shows 1 hour OHLC quotes but the last candle starting at 15:15 only contains 15 minutes of OHLC quotes (45 mins missing).
In TWS first bar is considered to adjust this aberration of 15 minutes. This is not an issue, in some places you will notice the last bar being compromised and in some places the first.
It appears wrong because our market opens at 09:15 and trades for 375 minutes. Since our markets trade for 375 minutes, 60 minutes charts will not procure correct analysis - even for a SMA - as an aberration of 15 minutes will either appear first or on last bar.
Technically, the correct "intraday" time-frames applicable for us are 3 mins, 5 mins, 15 mins, 25 mins and 75 minutes. Why? Because 3, 5, 15, 25, 75 are factors of 375. Each of these timeframes would produce all candles with quotes of equal and consistent time-span. Hence, correct charts!
(click on image to expand)
This is what I do in AmiBroker:
From Tools > Preferences > "Intraday" tab, check "Align minute bars to regular market hours".
And the market hours are set as usual in Database settings > Intraday Settings, like so:
Please notice that custom "75 minutes" is being used for below chart. Every trading day contains equal number of 5 candles each of equal 75 minutes:
P.S. Glad that you asked this question
@iTrade, because many don't even bother at these critical nitty-gritties. You got sensitive eyes, brother! All the best.... keep on... This is one of the reasons, why it becomes ultra-critical that one learns to code own charts as per own needs. Only we ourselves know what we actually need!
