Trading session exclusion
The Trading session exclusion module prevents opening orders during hours you exclude. Example: with an exclusion from 15:00 to 09:00, an order can open at 09:30 or 10:00, but not at 18:00 or 06:00.
How it works
Section titled “How it works”- Outside the exclusion, an Open signal opens an order as usual.
- Within the exclusion, no new order opens.
- Open orders are not affected: Close signals and modules close them within or outside the exclusion. The module never closes orders itself.
You can add this module more than once, with different times and days, for example one exclusion per news hour. Combine it with Trading session.
Settings
Section titled “Settings”- Name: optional, tells this module apart from others of the same kind. See Name.
- Start Hour (servertime): the hour (0–23) from which new orders are blocked. 13 is 1 PM.
- Start Minute (servertime): the minutes (0–59) of the start of the exclusion.
- Stop Hour (servertime): the hour (0–23) from which new orders may open again.
- Stop Minute (servertime): the minutes (0–59) of the end of the exclusion.
- Apply on Monday to Apply on Sunday: the days (server time) on which the exclusion applies. On days that are not checked, your EA can trade at any time. To exclude other days or hours, check more days or add the module again.
Server time
Section titled “Server time”The times are the broker’s server time, not your local time. You find it at the top of the Market Watch in MetaTrader, or in the top left corner of the chart after adding your EA.
Related
Section titled “Related”- Trading session: only trade within set hours
- Maximum spread: no new orders while the spread is high
MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.