<Session name="Corn - Trading Session times"> <Element dayFrom="Mon" dayTo="Mon" timeFrom="04:00" timeTo="16:45" eod="true" /> <Element dayFrom="Mon" dayTo="Mon" timeFrom="17:30" timeTo="22:20" eod="true" /> <Element dayFrom="Tue" dayTo="Tue" timeFrom="04:00" timeTo="16:45" eod="true" /> <Element dayFrom="Tue" dayTo="Tue" timeFrom="17:30" timeTo="22:20" eod="true" /> <Element dayFrom="Wed" dayTo="Wed" timeFrom="04:00" timeTo="16:45" eod="true" /> <Element dayFrom="Wed" dayTo="Wed" timeFrom="17:30" timeTo="22:20" eod="true" /> <Element dayFrom="Thu" dayTo="Thu" timeFrom="04:00" timeTo="16:45" eod="true" /> <Element dayFrom="Thu" dayTo="Thu" timeFrom="17:30" timeTo="22:20" eod="true" /> <Element dayFrom="Fri" dayTo="Fri" timeFrom="04:00" timeTo="16:45" eod="true" /> <Element dayFrom="Fri" dayTo="Fri" timeFrom="17:30" timeTo="22:20" eod="true" /> </Session>
Currently, SQX with MT4/MT5 do not use any Sessions,
It only used in SQX when using TradeStation and Multicharts in order to Cut out the un-used bars from the historical data for volume or strategic reasons.
in the example above with CORN session times i got from one of the FX/CFDs brokers we got 2 sessions a day as you can see above, 04:00~16:45 & 17:30~22:20 How do we go about that O_o?,
This is super important to have in SQX, without that trading is kinda out of sync, and with huge logs inside MT4/MT5 on "MARKET IS CLOSED" when the EA tries to manage orders when there is no trading goin on..
This is badly needed because SQX will develop strategies that it will think are perfectly tradable 24/5, but in the real world these trades wont be executed because the market was closed,
You might suggest using "Trading Options >> Time Range" but it would only cover and focus on one trading session, but what would we do in a case with CORN above where we have 2 trading sessions in a day?, we kinda limited here..
__
Any ways............., I would like to propose a simple solution for this:
Attachment Selection_346.png added
Could we please have this bug fixed in SQX so that we get results close to reality.
Subject changed from [Bug/Feature Suggestion] Sessions overall and focused on MT4/MT5 to v136 Dev2: Sessions not working in SQX which target MT4/MT5
Attachment 1.png added
Another thing is that some Forex instruments and CFDs on MT4 even shows these Sessions:
Hence they are not really 24/5,
those few minutes can count when developing a strategy on 24/5,
anyway, this is a very simple task like i already explained when talking with @SQteam on discord:
I explained it in the Task i created for it but in any case this is a very simple idea, just take the already existing Sessions and make an optional parameter of "Cut historical data / Do Not Cut historical data", • If "Cut historical data" selected then SQX perform historical data Cutting so the Historical data will only contain the Sessions times, • On the other hand if "Do Not Cut historical data" selected then SQX wont Cut the historical data, it will stay as it is, the only thing that will happen is SQX will only allow to "Trade" on the specified Sessions times specified. That way you guys can remove those unnecessary options inside the "Trading Options Tab", and just integrate them into the Sessions settings or something so everything the field of TIMES and DAYS will be in 1 place ????