Hourly Supertrend, EMA, and Bollinger Band Strategy with ATR Stops
Summary
This document proposes an hourly strategy using Supertrend, an exponential moving average, the middle of the Bollinger Bands, and an ATR-based volatility filter. In the code, long entries require price below the Supertrend line and above the EMA; short entries use the opposite relationship. Exits combine a Supertrend condition with price crossing the EMA and Bollinger midpoint. Trading hours can be restricted, with suggested windows for several index markets and continuous hours for gold and crude oil.
The example also sets a protective stop using ATR, but provides no profit target, money-management rules, backtest results, or forward-test evidence; the author asks for such evaluation. There is a notable mismatch between the written description and code: the prose describes different long-entry and exit conditions than the code expresses, so intended behavior should be clarified before evaluation. The stated instrument-specific hours reflect the author’s spread concerns and may not generalize across brokers or market conditions.
Key ideas
- The strategy combines Supertrend direction, EMA position, and the Bollinger Band midpoint for entries and exits.
- The code applies an ATR comparison as a volatility filter and an ATR-based protective stop.
- Trading-hour filters are intended to avoid periods when spreads may be wider.
- The written explanation and code differ on key long-side conditions.
- No backtest or forward-test results are supplied, and money management is left for later work.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.