For example, in Tools>Instruments I see the trading hours is set to 24x7 : https://i.imgur.com/VCLkwbN.png
However, when I open Chart>DataSeries, I do see it has selected "Use instrument settings" : https://i.imgur.com/mPCC1qo.png
But there are two problems:
1) there should be selected automatically the 24x7, because it was selected and user doesn't have to guess to "which timezone that instrument is set"
or
2) even if you decide not to change this behavior, and make "Use instrument settings" to remain there, then it should work and in the backgrounds, the `24x7` (or whatever instrument has setting) should be working. However, the problem is that, chart doesn't use 24x7, and Saturday/Sunday bars does not show up, and I have to select `Chart>Dataseries >24x7 ` once again to make it work.
Can you tell why these problem happens? Literally, on every open of chart I have to select 24x7 manually to make charts work really 24x7, even though it should have done automatically, as in Instruments base settings it's already set.
Here is a reproducible issue-example:
1) download the attached example "daily" bars data
2) create an instrument from addon (inside OnWindowCreate or wherever you want) once with this code.
3) try to open a daily chart of XYZ_USD
You will see that it will be skipping from friday-sunday .
(btw, also please tell me after opening chart, why there are 2 XYZ_USD symbols, one of Crypto and one of Stock type.)
----
Strange thing, I created a sample indicator, where, in "dataloaded" state, i printed "Instrument.MasterInstrument.TradingHours" and it prints "US Equities RTH", even thought what I described above. I can record video too to prove all I say is correct and I don't say any mistake in my steps, even though i provided screenshots.
If i create an indicator, where in configure state I set `Instrument.MasterInstrument.TradingHours = TradingHours.Get("Cryptocurrency");` then after Full reload of chart, it loads those bars (as the TradingHours is being applied after explicit command). But this is no way a solution.
Comment