When doing a trading strategy is possible that we want to carry out an operation only for a specific schedule, or that we do not want to leave open operations during weekends.
Therefore, we should use the time event elements that we have in tradeasy.
Imagine we have a moving average crossover opening strategy, and it has profits and losses pips as 2 exit levels.
In this strategy, the order will open according the price average crossover, and the order will close according to a profit or loss level.
These rules are going to apply while the market of the asset is opened.
How could we do this system to work only in a specific moment of the session?
To do so, we will use time events, starting by time filter.
With time filter, we are going to filter the beginning and the ending hour in a determined rule. To do so, we simply drag and drop the element into the rule. You must take into account that tradeasy assets work with GMT +0, so you should know the time difference between your broker and tradeasy to apply the time difference.
With this configuration, we assure that the orders are only going to open in that specific schedule.
However, what happens after this? Orders will remain open until an exit rule occurs.
If what we want is that no order is closed after the time filter, we can do it thanks to time fixed element.
The fixed time element will give a signal when the broker hour is the one in the parameter (remember that the hour in tradEASy will be GMT + o).
To do so, we will have to create a new rule for this indicator. It is important to understand that it must be an independent rule since if we, for example, add it in the profit rule what we will be doing is defining a rule with 2 conditions, that a level of benefit is achieved at a certain hour.
Another important aspect to take into account is the reading type. By default, the rules read the candle at the closing point. However, if we indicate a precise closing time, for example, 2:05 p.m. and our timeframe is 1 hour, the validation of the fixed hour will happen at 12 p.m., 1 p.m., 2 p.m., etc. This means that it will not be validated in that exact time. That is whywe should indicate a fixed hour to close with a tick reading.
If you want to know more about time filter, maybe you are interested in the next article: How to configure a strategy to close the weekends?
If you have any doubt, you can write us here.
If you want to learn more do not forget to look our automatic trading course.