Type/to search

Narrow Range Inside Day Breakout Strategy

Cryptocurrency
Created: 2023-09-15 14:34:11
Last modified: 3 years ago
1
Follow
1781
Followers

Strategy Overview

The narrow range inside day breakout strategy identifies narrow range oscillations and inside day close breakouts for long-only trend following. It generates long signals when price narrowing, inside day, and SMA slope up all emerge to capture post-breakout trends.

Strategy Logic

  1. Use NR7 to identify the narrowest range day among the past 7 days.

  2. Use inside day to determine previous day's high is lower than current day's high, and previous day's low is higher than current day's low.

  3. When NR7 and inside day occur together, with closing price higher than opening price, go long.

  4. Exit when next day's close is higher than open.

The strategy utilizes both price narrowing and inside day signals to identify accumulation stages. With SMA slope up, price is likely to breakout. Such multi-condition filtering improves accuracy.

Also, the long-only approach avoids consolidation traps and unnecessary trades.

Advantages of the Strategy

  • Considers both narrowing and inside day signals

  • SMA direction determines trend existence

  • Multi-condition filtering improves signal accuracy

  • Long-only avoids consolidation traps

  • Optimizable backtest parameters, flexible

Risk Warnings

  • SMA tuning needed to optimize signals

  • Long entry may lag, focus on breakout timing

  • Unable to profit from downtrends

  • Prevent re-expansion of ranges

Conclusion

The narrow range inside day breakout strategy thoroughly examines market structure and generates high-probability signals. With parameter tuning, it is highly adaptive. The strategy is worth backtesting, live optimization, and integration into overall quant systems.

Source
Pine
/*backtest
start: 2023-09-11 00:00:00
end: 2023-09-14 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
strategy("NR7ID: Narrow Range + Inside Day, Long Only Strategy (by ChartArt)", shorttitle="CA_-_NR7ID_Strat", overlay=true) // max_bars_back=5000

// ChartArt's Narrow Range + Inside Day Strategy (Long Only)
Strategy parameters
Strategy parameters
Show Narrow Range 7 (NR7) ?
Show Inside Day (I) ?
Show NR7ID (NR7 + Inside Day) colors ?
Show SMA ?
SMA Length
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)