Create and Test Forex Strategies
This shows you the differences between two versions of the page.
| express-generator:trading-session [2023/07/04 17:18] – created Miroslav Popov | express-generator:trading-session [2026/02/21 11:17] (current) – Created "Trading Session" article Miroslav Popov | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Trading | + | ====== Trading |
| + | |||
| + | The **Trading Session** options work for '' | ||
| + | |||
| + | The Trading Session options limit the time the Strategy opens new positions. | ||
| + | The position closing is not restricted. | ||
| + | |||
| + | We call the trading day a " | ||
| + | |||
| + | The options '' | ||
| + | We use these options in two cases: | ||
| + | |||
| + | * to prevent entries around midnight if the broker suspends the trading due to "swap calculations" | ||
| + | * to prevent high-spread entries if the broker increases the spreads near the start and end of the trading day. | ||
| + | |||
| + | The '' | ||
| + | It is a separate option because brokers have different Friday closing times depending on their time zones. | ||
| + | |||
| + | The '' | ||
| + | It is useful if the broker starts the trading on Sunday (usually around 22:00) and uses higher spreads. | ||
| + | |||
| + | The '' | ||
| + | |||
| + | These are the default options: | ||
| <code ini> | <code ini> | ||
| Line 16: | Line 39: | ||
| </ | </ | ||
| + | The Trading Session options work in the exported Expert Advisors in the trading and testing modes. | ||
| + | |||
| + | Set the Trading Session options in EA Studio to reproduce the same backtesting results. | ||
| + | We need to do it because EA Studio has the Trading Session options at the application level and does not import them from the Strategy or from an exported Expert Advisor. | ||