Breakfast Breakout - Praj — Strategy by prajwal51
By prajwal51
Performance Metrics
- Author: prajwal51
- Symbol: NASDAQ:NVDA
- Timeframe: 15 minutes
- Profit Factor: ,
Description
I wrote the strategy to [ORB_Trend_Strategy.pine](ORB_Trend_Strategy.pine). I haven't compiled it, so paste it into TradingView's Pine editor and fix any compile errors first.**Opening range drawing**- It tracks the high and low from 9:30 to 10:30 New York time, and the timezone and session are inputs.- It draws a horizontal green line at the high and a red line at the low, and both extend to the end of the session.- It draws a vertical line at 9:30 and another at 10:30.- A shaded box fills the area between those lines.**Signals**Signals only appear after 10:30, until 330 minutes after the open (about 3:00 pm). A BUY needs all of these on the same bar, and a SELL needs the mirror image:| Condition | BUY | SELL ||---|---|---|| Trend strength | ADX ≥ 25 and rising | ADX ≥ 25 and rising || EMAs | 9 EMA above 21 EMA, with a minimum gap of 0.15× ATR | 9 EMA below 21 EMA, same gap || Direction | +DI above −DI | −DI above +DI || VWAP | Close above VWAP | Close below VWAP || RSI | 55–75 | 25–45 || MACD | Line above signal and histogram above 0 | Line below signal and histogram below 0 || Range break | Close above the range high | Close below the range low |The "sideways" rule is the ADX and EMA-gap check. While it fails, signals are blocked and the chart is shaded gray, so you can see the no-trade periods. A signal only fires on the first bar where all conditions line up.**Trade handling**- The stop is 1.5× ATR and the target is 2R.- A trade also exits if the 9 and 21 EMAs flip against it, and everything closes at the end of the session.- It takes at most 2 trades a day.- Position size is 25% of equity.- Commission is 0.02% and slippage is 2 ticks.- BUY and SELL labels are plotted, and alerts are available for both.**Things to know**- **Timeframe:** use a 1, 5 or 15 minute chart. The script errors on anything above 30 minutes.- **Market hours:** the end-of-session exit uses the exchange's regular session. If you trade a non-US market, change the timezone and session inputs.- **Strictness:** requiring all seven conditions together is strict, so expect few signals. The "Require Close Outside Opening Range" and RSI limits are the easiest to loosen. Check the Strategy Tester trade count before trusting the results.Release NotesI changed [ORB_Trend_Strategy.pine](ORB_Trend_Strategy.pine) to aim for a higher win rate, but I can't promise 80%. I haven't compiled it or backtested it, so I don't know the real number. Paste it into TradingView and check the new stats panel at the top right, which shows trades, win rate, profit factor, average win, average loss and net profit.**Win rate and profit are a trade-off**You can reach a high win rate by taking small profits and using wide stops, but that can lose money overall. At 80% wins with a 0.6R target, the expectancy is about +0.28R per trade before costs. At 70% wins it's about +0.12R, and below roughly 63% it loses money. Commission and slippage eat into that margin, so watch profit factor and net profit next to win rate.**What changed**- **Pullback entry:** it now waits for price to pull back to the 9 EMA and close back in the trend direction on a candle of the same color. Before, it entered on the breakout candle, which often meant buying the top.- **Stricter trend filter:** minimum ADX is now 28 instead of 25.- **Extra filters:** - 60-minute EMA(50) must agree with the trade direction. - Breakout volume must beat its 20-bar average. - No trades during the 11:30–1:30 lunch chop.- **Smaller target, wider stop:** - Target drops from 2R to 0.6R. - The stop is now at least 2× ATR and sits beyond the last 5 bars' swing point. - Trades are skipped if that stop would be wider than 3.5× ATR.- **EMA-flip exit is off by default:** it was cutting trades short.**Tuning**- If the win rate is still below target, lower the target R toward 0.4–0.5, raise Min ADX, or reduce max trades per day to 1.- If the win rate is high but net profit is flat or negative, raise the target R back toward 1.0.- Run it on at least 100 trades, and test on dates you didn't tune on.