OPEN-SOURCE SCRIPT
Mis à jour Trend-S&R-WiP

11-15-2025: This new indicator is my 5/15-Min-ORB-Trend-Finder-WiP indicator simplified to only have:
> Market Open
> 5-Min & 15-Min High/Low
> Support/Resistance lines
> Fair Value Gaps (FVGs)
> a Trend Line
> a Trend table
Recommended to be used with my other indicator: Buy-or-Sell-WiP
Strategy:
> I only trade one ticker, SPX, with ODTE CALL/PUT Credit Spreads
> use Break & Retest with 5-Min High/Low or 15-Min High/Low or FVGs
> 📈 Bullish Trend
Trade: PUT Credit Spread
Trend Confirmations:
Trend Line is green
MACD Histogram is green
Price Condition: Nearest resistance 8-10 points above market price
> 📉 Bearish Trend
Trade: CALL Credit Spread
Trend Confirmations:
Trend Line is purple
MACD Histogram is red
Price Condition: Nearest support 8-10 points below market price
> Fair Value Gaps (FVGs)
- Trade anytime during the day using Break & Retest and all indicator confirmations shown above
> Market Open
> 5-Min & 15-Min High/Low
> Support/Resistance lines
> Fair Value Gaps (FVGs)
> a Trend Line
> a Trend table
Recommended to be used with my other indicator: Buy-or-Sell-WiP
Strategy:
> I only trade one ticker, SPX, with ODTE CALL/PUT Credit Spreads
> use Break & Retest with 5-Min High/Low or 15-Min High/Low or FVGs
> 📈 Bullish Trend
Trade: PUT Credit Spread
Trend Confirmations:
Trend Line is green
MACD Histogram is green
Price Condition: Nearest resistance 8-10 points above market price
> 📉 Bearish Trend
Trade: CALL Credit Spread
Trend Confirmations:
Trend Line is purple
MACD Histogram is red
Price Condition: Nearest support 8-10 points below market price
> Fair Value Gaps (FVGs)
- Trade anytime during the day using Break & Retest and all indicator confirmations shown above
Notes de version
11/15/2025 - Corrected the title by adding a shorttitle=Trend-S&R-WiPNotes de version
11/29/2025 Update: removed Trend Table (provided misleading information as timely updates were lagging), removed FVG Dashboard (provided little useful information), added Bollinger Bands (will be used with 0DTE Iron Condor strategy later when Trade Calculator software is released).Notes de version
12/18/2025 - added a 1-Hour High and Low line with labels to chart, this will compliment the 5- minute and 15-minute high/low lines to add a third ORB trading period.Notes de version
01/05/2026 - I've updated the Trend-S&R-WiP indicator to not only include the following items...5-Min ORB high/low
15-Min ORB high/low
30-Min ORB high/low
1-Hour ORB high/low
Upper Bollinger Band w/label
Lower Bolling Band w/label
Fair Value Gaps
Trend Line (alternating green for Bullish, purple for Bearish)
Support/Resistance Lines
...but to also include a Market Pattern table to tell if it is a Trending Market or a Ranging Market.
How The Trend~Range Numbers Are Determined:
The following five market behaviors are evaluated to produce two scores:
> Normalized ATR (volatility relative to price),
> ADX (trend strength),
> Slope (price momentum over 14 periods),
> RSI Stability (consistency of RSI),
> Deviation Index (price deviation from a 14-period SMA).
The Trend Score: tells us if a trending Bullish or Bearish market; if Trend Score > Range Score (meaning the chart is trending Bullish or Bearish), the Trend row turns Green.
The Range Score: tells us if a consolidating, ranging market; if Range Score > Trend Score, (meaning the chart is ranging/consolidating), the Range row turns Red.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.