OPEN-SOURCE SCRIPT
Futures Trading Hours RSI Strategy

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.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Make sure to subscribe to our daily market analysis for Futures Traders at futuresplaybook.com !
-Dr. Alex Djahankhah
-Dr. Alex Djahankhah
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Make sure to subscribe to our daily market analysis for Futures Traders at futuresplaybook.com !
-Dr. Alex Djahankhah
-Dr. Alex Djahankhah
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.