Session-Filtered Breakouts and EMA Entries with ATR Risk Controls
Summary
This educational strategy template limits new entries to a user-defined session. Traders can choose between breakouts through the developing session high or low and fast-versus-slow EMA crosses. A switch can restrict entries to one per session day. The script also plots session levels and moving averages, and can send structured webhook alert messages for entries and exits through a companion library.
Stops use either an ATR multiple or a fixed distance, with profit targets set by a risk-to-reward multiple. The script specifies commission, slippage, and strategy tester sizing assumptions, but the document reports no performance results or evidence that either entry mode is profitable. Its defaults and description suggest liquid FX or metals as examples; the author cautions that it is a basic template, that symbol mapping and execution are the user's responsibility, and that non-standard chart types are unsuitable. The session uses the exchange timezone, so the configured hours need to match the market being traded.
Key ideas
- Entries are allowed only during the selected session window.
- The strategy offers session-range breakouts or EMA crosses as alternative entry rules.
- An optional limit allows at most one entry per session day.
- ATR-based or fixed stop distances define exits, while a risk-to-reward setting determines targets.
- Webhook messages support external execution, but the document provides no evidence of strategy profitability.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.