Topic: Trading Session
There is a new feature added in EA Studio - Trading Session.
You can find it in the Tools -> Settings page
These settings are very useful for trading with brokers that suspend the execution around midnight.
You see session time from 00:05 to 23:55 in the example above. It means that Expert Advisor Studio will open and close positions only if the corresponding bar opens between the specified time.
Only the Stop Loss and the Take Profit will be executed outside of the specified interval.
The Trading Session time is included in the exported Expert Advisors and considered during the trading.
Please note that these settings are global for the applications and reflect on all strategies.
It means that if you change the hours the backtester will recalculate the strategy and will show different stats no matter the strategy is the same.
Please use this option carefully. Sett it once according to your preferences and do not change it for every strategy.
Despite the fact the Trading Session info is included in the experts, it is not imported back when you import an expert in EA Studio. It means that if you export an expert advisor with one Trading Session settings, then change the settings and import the expert back, it will be recalculated by using the latest settings. It means that the expert will show different stats.
Please experiment with the Trading Session settings carefully. They have impact on all strategies.
Close at the end of the session and Close at Friday Close close the positions at the last Bar Open before the end of the session.
For example, if you set 22:00 and you trade on M15 chart, the positions will be closed at 21:45. They cannot be closed at 22:00 because the first tick of the candles always comes after the round minute. That means it is not possible to have a tick at exactly 22:00 min and 000 milliseconds, therefore it is not possible to close a position at the exact time you set. A reliable solution is to close at the previous Bar Open.
Please test this feature carefully and report all issues.