OPEN-SOURCE SCRIPT

Opening Range Breakout - NQ Dynamic Risk

127
Found this video talking about first M15 opening candle range breakout:
youtube.com/watch?v=fuTqr5vlPZM

Was curious about the results and wrote a script to backtest. Strategy rules:
1) First 3 M5 candles defines the opening range
2) First M5 candle that closes outside of this range, enter trade
3) SL at halfway of the range + additional 5 points
4) Target 2R

The script is set for NY open at 9:30 with daylight saving etc accounted for.
By default it's set to start taking trades from May 1 2025.
Dynamic position size. Default equity to risk is 1%, so it automatically calculates number of contracts based on entry to SL. Also, this is NQ so contract multiplier is set to 20.

Have fun.

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.