For some reason, the exchange started a nightly continuous trading.
The last night's trading hours and today's trading hours is a complete settlement day.
And When some holidays, there will be no night continuous trading. Such as begining of May and October, and some day in January or February.
I want to use day high, day low, day close to filter in strategy, and find that daily bar is not correct.
Attachment SHFErb HOT 1 Day MC.txt added
Attachment DCEi HOT 1 min18-19 MC.txt added
Attachment SHFErb HOT 1 min18-19 MC.txt added
Attachment RB_MC Session in MC.png added
Attachment DCE_I Session in MC.png added
Attachment rb_MC_session.png added
Attachment I_DCE_session1.png added
Attachment I_DCE_session2.png added
Attachment closed_yp-in-MC.7z added
Maybe we need custom indicators in SQ.
Here is the MC's el code for these functions. Would you please help me to do this?
Type changed from Bug to Feature
currently we don't support this kind of sessions in SQ. Basically a session for one day should be in a single row in Edit session popup.
I think the easiest way is to export the history data from MultiCharts including the applied session and import it into SQ.
Then you can define a simple session times in DataManager (e.g. Mon 21:00 Tue 15:00 SEOC / Tue 21:00 Wed 15:00 SEOC) and it should work.
I will set this task as a feature, maybe we could extend the session configuration functionality in SQ later.
Let me know if you need more help.
Best regards,
Tomas
Hello, Tomas Brynda,
Thank you for your attention to this issue.
This demand is indeed a bit strange. Therefore, it is not too good to implement it in the session.
Can we try custom indicators?
And We need SQ to provide several attributes of symbols. Get settings from session settings in SQ.
1. sessions numbers, how many sessions the instrument have in a day.
2. sessionlastbar. Indicates whether the current Bar is the last Bar before the end of the session.
3. sessXendtime. sess1endtime, sess2endtime, etc... The end of the one session.
I don't know how much experienced you are in programming, but if you need to get session details inside the custom indicator code, it should not be a problem.
In SQ we have a SessionManager class where you can get a data structure of every session.
Subject changed from TimeFrame transform with session is not accurate to Extending session settings