OPEN-SOURCE SCRIPT
Trend V2 Exact + Soft Filters

**Trend V2 Exact + Soft Filters**
Trend V2 Exact + Soft Filters is a precision-based momentum and confirmation indicator designed to identify high-probability market turning points with clarity and structure. Built around a smoothed correlation trend engine, it delivers both early warnings and confirmed signals while maintaining strict control over signal quality.
At its core, the indicator plots two key lines:
* **Purple Line** – a smoothed representation of trend momentum
* **Yellow Line** – a signal line used for confirmation and timing
These lines operate within a structured zone system, allowing the script to detect when price action reaches statistically significant extremes before triggering any signals.
---
### 🔍 How It Works
The logic follows a two-stage process:
**1. Setup (Weak Signals)**
A potential trade is identified when:
* The Yellow line enters a defined extreme zone (overbought or oversold)
* The Purple line reaches a deeper threshold (“touch level”)
This creates a *“ready state”*, displayed as **Weak Buy (WB)** or **Weak Sell (WS)** signals. These are early warnings — not confirmations.
**2. Confirmation (Strong Signals)**
A trade is only confirmed when:
* The Purple line crosses the Yellow line *after* the setup is armed
* Optional filters (if enabled) agree with the direction
This produces **Strong Buy (SB)** or **Strong Sell (SS)** signals — the primary entries.
---
### ⚙️ Smart Signal Control
To improve reliability without over-filtering, the script includes optional **Soft Filters**:
* **Turn Filter** – ensures momentum is actually shifting direction
* **Volume Filter** – checks whether volume supports the move
* **Liquidity Filter** – evaluates participation using volume-based proxies
Each filter can be enabled or disabled depending on your trading style, allowing full control between responsiveness and confirmation strength.
---
🔁 Anti-Repaint & Signal Flow
The indicator uses a strict event-state system:
* Signals are only triggered once per cycle
* Buy and sell signals alternate (no stacking)
* Setups must fully complete before confirmation
This ensures clean, non-redundant signals and avoids noise in ranging conditions.
---
📊 Visual Structure
* Clear upper and lower bands highlight extreme conditions
* Strength and touch levels are plotted for transparency
* Signals are minimal, clean, and easy to read on any timeframe
---
✅ Best Use
Trend V2 is ideal for:
* Intraday and swing trading
* Identifying reversals and continuation entries
* Traders who want **early context (weak signals)** + **confirmed execution (strong signals)**
---
⚠️ Notes
This is a confirmation tool, not a standalone strategy. It performs best when combined with market structure, support/resistance, or higher timeframe bias.
---
Designed for traders who value precision, structure, and control over raw signal frequency.
Trend V2 Exact + Soft Filters is a precision-based momentum and confirmation indicator designed to identify high-probability market turning points with clarity and structure. Built around a smoothed correlation trend engine, it delivers both early warnings and confirmed signals while maintaining strict control over signal quality.
At its core, the indicator plots two key lines:
* **Purple Line** – a smoothed representation of trend momentum
* **Yellow Line** – a signal line used for confirmation and timing
These lines operate within a structured zone system, allowing the script to detect when price action reaches statistically significant extremes before triggering any signals.
---
### 🔍 How It Works
The logic follows a two-stage process:
**1. Setup (Weak Signals)**
A potential trade is identified when:
* The Yellow line enters a defined extreme zone (overbought or oversold)
* The Purple line reaches a deeper threshold (“touch level”)
This creates a *“ready state”*, displayed as **Weak Buy (WB)** or **Weak Sell (WS)** signals. These are early warnings — not confirmations.
**2. Confirmation (Strong Signals)**
A trade is only confirmed when:
* The Purple line crosses the Yellow line *after* the setup is armed
* Optional filters (if enabled) agree with the direction
This produces **Strong Buy (SB)** or **Strong Sell (SS)** signals — the primary entries.
---
### ⚙️ Smart Signal Control
To improve reliability without over-filtering, the script includes optional **Soft Filters**:
* **Turn Filter** – ensures momentum is actually shifting direction
* **Volume Filter** – checks whether volume supports the move
* **Liquidity Filter** – evaluates participation using volume-based proxies
Each filter can be enabled or disabled depending on your trading style, allowing full control between responsiveness and confirmation strength.
---
🔁 Anti-Repaint & Signal Flow
The indicator uses a strict event-state system:
* Signals are only triggered once per cycle
* Buy and sell signals alternate (no stacking)
* Setups must fully complete before confirmation
This ensures clean, non-redundant signals and avoids noise in ranging conditions.
---
📊 Visual Structure
* Clear upper and lower bands highlight extreme conditions
* Strength and touch levels are plotted for transparency
* Signals are minimal, clean, and easy to read on any timeframe
---
✅ Best Use
Trend V2 is ideal for:
* Intraday and swing trading
* Identifying reversals and continuation entries
* Traders who want **early context (weak signals)** + **confirmed execution (strong signals)**
---
⚠️ Notes
This is a confirmation tool, not a standalone strategy. It performs best when combined with market structure, support/resistance, or higher timeframe bias.
---
Designed for traders who value precision, structure, and control over raw signal frequency.
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.