OPEN-SOURCE SCRIPT
Updated

5/15-Min-ORB-Trend-Finder-WiP

541
Indicator Features:
> "Open" flag for each market day.
> Toggleable 5-min and 15-min High/Low markings.
> Horizontal support (red) and resistance (blue) lines.
> EMA-based trend line: green for long/buy, purple for short/sell.
> Recommended to use with my other indicator: Buy-or-Sell-WiP.

Strategy:
> Use with 1-min chart with 5-min High/Low or 5-min chart with 15-min High/Low
> After a breakout, wait for confirmation before placing a trade, which is:
- Two confirming candles (green for long/buy, red for short/sell)
and
- Buy-or-Sell-WiP histogram: green for long/buy, red for short/sell
Release Notes
Indicator Features:
> "Open" flag for each market day.
> Toggleable 5-min and 15-min High/Low markings.
> Horizontal resistance lines (red) and support lines (blue).
> EMA-based trend line: green when up-trend, purple for down-trend.
> Recommended to be used with my other indicator: Buy-or-Sell-WiP.

Strategy:
> I use this exclusively with SPX, trading CALL/PUT credit spreads.
> Use the 1-min chart with 5-min High/Low, or use the 5-min chart with 15-min High/Low.
> After a breakout, wait for the confirmations before placing a trade, which are:
- Two consecutive confirming candles (green for going long/buy, red for going short/sell).
and
- Buy-or-Sell-WiP histogram: green for long/buy, red for short/sell.

> NOTE: Do not place a trade unless there are 10-points, or more from the "go" candle to the nearest resistance line (when going long/buy) or support line (when going short/sell); the reason being the market may not move enough for you to take profit once your trade fills; FYI, I usually try for $0.30 profit when trading CALL/PUT credit spreads.
Release Notes
Update: October 30, 2025

Enhanced the indicator by incorporating three Exponential Moving Average (EMA) lines: EMA 20 (thick yellow), EMA 50 (thick blue), and EMA 200 (thick orange). These additions facilitate the identification of trending bullish or bearish markets.

Trading Strategies

Strategy 1: Bullish Market
When the EMA 20 (yellow) is positioned above the EMA 50 (blue), and the EMA 50 is above the EMA 200 (orange), this signals a bullish market trend.

Recommended Actions:
> Enter a Buy/Long position.
> Consider executing a Put Credit Spread.

Strategy 2: Bearish Market
When the EMA 20 (yellow) is below the EMA 50 (blue), and the EMA 50 is below the EMA 200 (orange), this indicates a bearish market trend.

Recommended Actions:
> Enter a Sell/Short position.
> Consider executing a Call Credit Spread.

Strategy 3: Sideways/Range-Bound Market
If the EMA 20, EMA 50, and EMA 200 do not align in either of the configurations described above, the market is likely in a sideways, range-bound, or consolidation phase.

Recommended Action:
> No trades are advised during this period due to the lack of a clear trend.

These strategies leverage the EMA alignments to provide clear, actionable insights for navigating trending and non-trending market conditions.
Release Notes
11/04/2026 Update
> Fair Value Gaps (FVG) have been added for the current day.

> ⚙️ Core Trading Idea:
- An impulse move creates imbalance (FVG).
- Wait for the price to return (mitigate) into the FVG.
- Look for a continuation signal (rejection wick, structure break, or volume confirmation) in the original direction.

> 📈 Bullish FVG Trade Example (Buy Setup):
- Identify a bullish FVG after a strong move upward.
- Wait for the price to retrace back into the gap (the “discount” zone).
- Enter long when:
> A lower timeframe structure shift confirms bullish intent, or
> There’s a bullish rejection from the FVG midpoint.
> Wait to enter the trade until the candle that retraced into the FVG is fully engulfed.
> Note: I trade credit spreads, so my entry for a Bullish FVG trade would be a PUT Credit Spread.

>📉 Bearish FVG Trade Example (Sell Setup)
- Identify a bearish FVG after a sharp drop.
- Wait for the price to retrace back up into the gap.
- Enter short when:
> A lower timeframe breaks of structure show sellers re-entering, or
> A bearish candle rejects the FVG’s midpoint.
> Wait to enter the trade until the candle that retraced into the FVG is fully engulfed.
> Note: I trade credit spreads, so my entry for a Bearish FVG trade would be a CALL Credit Spread.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.