Five-Minute Trading Strategy with a Daily Trend and Session Gate
Summary
This Pine strategy is organized as a five-minute intraday system with a configurable trading-session filter and a higher-timeframe daily trend gate. The visible logic defaults to the 09:30–11:30 EST session and compares daily close with a daily EMA, while an ADX calculation can require a minimum trend-strength reading. Longs are allowed when the higher-timeframe bias is bullish and shorts when it is bearish, subject to the strength filter when enabled. ATR is also calculated for the trade-management section.
The excerpt ends as a DEMA layer is introduced, so it does not show the complete signal engine, entry rules, exits, or backtest results. The script header specifies fixed order sizing, no pyramiding, and order processing at bar close, but these settings alone do not establish profitability. The available material supports learning about session and higher-timeframe filters, not evaluating the full strategy. Any assessment would require the missing code and performance evidence, including the market, sample period, costs, and drawdown profile.
Key ideas
- The visible strategy combines an intraday session filter with a higher-timeframe daily bias.
- The daily bias uses price relative to a configurable EMA and can require ADX trend strength.
- The defaults shown use a 09:30–11:30 EST session, a 200-period daily EMA, and an ADX threshold of 18.
- ATR is calculated for trade management, but the excerpt does not show how it is used.
- The incomplete source provides no entry and exit details or backtest evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.