OPEN-SOURCE SCRIPT
Cập nhật 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
Phát hành các Ghi chú
11/15/2025 - Corrected the title by adding a shorttitle=Trend-S&R-WiPPhát hành các Ghi chú
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).Phát hành các Ghi chú
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.Phát hành các Ghi chú
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.
Phát hành các Ghi chú
2026.01.27 - added 20 EMA High/Low line, and Up/Down Fractal indicators.Indicator still includes all of the following:
> 5-min, 15-min, 30-min, and 1-hour ORB lines with labels
> Bollinger Band High/Mid/Low lines with labels
> Purple/Green Trend line which is approximately the 9 EMA
> Support/Resistance lines
Phát hành các Ghi chú
2026.01.27 - forgot to mention in previous update, I also have added a "Market Pattern" table in the upper, right area of the chart which gives a "Trend" number and "Range" number to help determine if the market is bullish or bearish or consolidating/ranging.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.