I’m in the Optimization process for one strategy and I was able to do the Optimization only takes trades until a specific exact time, for example, to close all the trades at 2:00 PM E.T. as late if any order is opened at that time. I did this by adding a custom template in the Trading Hours section.
Then I go to a chart to load the data let’s say for the ES 12-21 using the same ‘Trading Hour’ template in the Data Series section > Time frame, but when I load the strategy to the chart I see the historical trades keep being placed until 5:00 PM E.T. why?
I would like to know what would be the “universal” way to make any strategy works only until a specific time or even maybe during a custom specific range of hours every day.
I understand there is a feature in the platform called ‘Auto close position’ but it doesn’t make a filter by strategy and it doesn’t give the option to set a start and end time, only an end time. And even using the ‘Auto close position’ feature I see the chart still loads the historical trades in the same way, with trades being placed until 5:00 PM E.T. and I don’t understand why the platform doesn’t handle the historical trades using this ‘Auto close position’ parameter.
It would be perfect the Strategies section has something similar than Data Series > Time frame > Trading hours > loading the template you need in any situation or simply leaving the default instrument trading hours. Why this is not done in this way? Because it would be very very useful. Or why a strategy doesn’t work only in the Trading hours specified in the Data Series in the chart it is loaded? Also placing the historical trades in that way.
Thank you
Comment