OPEN-SOURCE SCRIPT
Atualizado 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
Notas de Lançamento
11/15/2025 - Corrected the title by adding a shorttitle=Trend-S&R-WiPNotas de Lançamento
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).Notas de Lançamento
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.Notas de Lançamento
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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.