I'm creating an indicator that uses "TradingHours" and "BarsArray[0].GetBar".
I have two questions.
First:
Which instrument typically uses the following TradingHours?
(01) ASX Index Futures
(02) ASX Interest Rate
(03) CBOT Agriculturals Mini ETH
(04) CBOT Agriculturals Mini RTH
(05) CFD AUS
(06) CFD HKG
(07) China A Share Market
(08) China Futures Night Off
(09) China Futures Night_0100
(10) China Futures Night_0230
(11) China Futures Night_2300
(12) China Futures Night_2330
(13) China Index Futures
(14) CME Forest Futures
(15) CME Forest Futures ETH
(16) HKFE
(17) Ipe Europe Futures
(18) KLSE
(19) Ose
(20) Ose Nikkei Mini
(21) SGX CNX Index Futures ETH2
(22) SGX Interest Rate
(23) Tocom
(I need to do some debugging).
Second:
What happens when we use "BarsArray[0].GetBar" to produce the "absolute index"? Will a time in the future always have a bar? My indicator runs with time chart, can I expect to always have a bar when using "GetBar" if the bar is in the future? What happens to the differences in minutes that the DateTime variable can have with respect to the time of the bars that is based on a specific interval? Is it possible to see the code of the "GetBar" method?
Thanks

Comment