OPEN-SOURCE SCRIPT

Futures Trading Hours RSI Strategy

1 820
Futures Trading Hours RSI Strategy

A lightweight, session-filtered RSI strategy designed for equity-index futures (e.g. NQ, ES, YM) on a 30-minute chart. It dynamically enters long when RSI crosses above your oversold threshold and short when RSI crosses below your overbought threshold—but only during regular U.S. trading hours (08:30–15:00 CT, Monday–Friday). All positions are set to close at 15:00 CT to avoid overnight risk, and optional background shading highlights your open longs (green) and shorts (red).



Key Features
• RSI-based entries: configurable length, oversold, and overbought levels
• Session filter: trades only between 08:30–15:00 CT, Monday through Friday
• Automatic exit: closes all positions at or after 15:00 CT each day
• Visual cues: optional background shading for open long/short positions
• Easy customization: adjust length, overSold, overBought, and time offsets

Backtest Performance (NQ Jun 2025, 30 min)
• Total P&L: +$10,230 (+1.02%)
• Profit Factor: 4.61
• Win Rate: 57.1% (4 wins / 7 trades)
• Max Drawdown: $2,215 (0.22%)

(Results shown are for illustrative purposes only; past performance does not guarantee future returns.)

How to Use
1. Add this script to your 30-minute futures chart.
2. Tweak the RSI parameters and time-zone offset to suit your instrument.
3. Enable “background shading” if you’d like a visual reminder of open positions.
4. Run in paper-trade mode to validate performance before going live.



⚠️ Disclaimer: Trading carries risk. Always backtest and paper-trade before using real capital. Adjust position sizing and risk controls to your own tolerance.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.