Session Timed Breakout Trading with Risk Controls and Regime Filters
Summary
This strategy script combines time-based trade windows with breakout entries, configurable stop-loss and take-profit distances, and an optional ATR-based stop. It includes a choice of regime filters, including an Andean oscillator and a Larry Williams large-trade index, as well as inputs for trade timing, lookback lengths, and daily gain targets. Position risk is set as a percentage of current account equity, and alerts are formatted for an external execution connector.
The document is primarily implementation code rather than a full explanation of its entry and exit rules; the supplied excerpt omits substantial portions of the logic. It exposes many configurable controls but does not include backtest results, validation across assets, or evidence for the stated daily targets. The defaults include zero commission and slippage in the strategy declaration, which can make simulated outcomes less representative of live trading. Session definitions, broker symbol mapping, risk settings, and connector behavior require careful alignment before interpreting results or automating orders.
Key ideas
- The script combines timed trading windows with breakout-oriented entries and configurable exits.
- Stops can use fixed pip distances or an ATR-based setting.
- Optional oscillator and large-trade-index filters are available to restrict trading by regime.
- Trade risk is expressed as a share of account equity, and alerts can be sent to an external connector.
- The excerpt omits much of the strategy logic and supplies no evidence validating its performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.