OPEN-SOURCE SCRIPT
Trinity Trend Dashboard

"Trinity Trend Dashboard with Trend Alerts & Custom Colors" indicator
### Trading Dashboard – Quick User Guide
**Purpose**
This indicator displays a compact status dashboard showing how the current price relates to several key levels:
- Previous day's VWAP
- Current (session) VWAP
- Previous day's High
- Previous day's Low
- Donchian Channel basis line (midpoint of highest high / lowest low over chosen period)
Each level shows whether price is **Above** (bullish) or **Below** (bearish), with colored backgrounds to make it instantly readable.
An **overall trend summary** combines all five signals into one clear status:
- **Strong Bullish** → all 5 signals are bullish
- **Strong Bearish** → all 5 signals are bearish
- **Mixed Trend** → anything in between
**How to Read the Dashboard**
- **Left column** = name of the level
- **Right column** = current price position ("Above" or "Below")
- **Green background** = price is above the level (bullish signal)
- **Red background** → price is below the level (bearish signal)
- **Bottom merged row** = overall trend verdict + large colored background
**Key Settings You Can Change**
- **Table Position** → top-right (default), top-left, bottom-left, bottom-right
- **Font Size** → tiny / small (default) / normal / large
- **Donchian Channel Period** → default 20 bars (classic value; adjust for faster/slower basis line)
- **Colors** (fully customizable):
- Left column text color (default: yellow)
- Bullish background (default: lime green)
- Bearish background (default: red)
- Mixed trend background (default: gray)
- Header background & text color
- **Alert toggles** → turn on/off notifications for:
- Trend changed → Strong Bullish
- Trend changed → Strong Bearish
- Trend changed → Mixed Trend
**Alerts**
Alerts fire only when the **overall trend status changes** (e.g. Mixed → Strong Bullish).
Recommended setup in TradingView:
1. Add the indicator to chart
2. Create alert → select this indicator
3. Condition = "Any alert() function call"
4. Frequency = "Once Per Bar Close" (cleanest for daily/lower-timeframe use)
5. Add your preferred notification (popup, email, webhook, etc.)
**Tips for Best Use**
- Works on any timeframe, but shines on intraday charts (5 min – 1 hour) when using daily previous levels.
- Previous-day levels update automatically at the start of each new trading day.
- On very low-liquidity symbols, VWAP may behave differently — test first.
- For scalping/day trading: watch when overall status flips to Strong Bullish/Bearish — often strong momentum confirmation.
- Customize colors so they stand out clearly against your chart background (e.g. darker green/red if chart is bright).
Enjoy cleaner, faster decision-making — all important levels in one glance!
### Trading Dashboard – Quick User Guide
**Purpose**
This indicator displays a compact status dashboard showing how the current price relates to several key levels:
- Previous day's VWAP
- Current (session) VWAP
- Previous day's High
- Previous day's Low
- Donchian Channel basis line (midpoint of highest high / lowest low over chosen period)
Each level shows whether price is **Above** (bullish) or **Below** (bearish), with colored backgrounds to make it instantly readable.
An **overall trend summary** combines all five signals into one clear status:
- **Strong Bullish** → all 5 signals are bullish
- **Strong Bearish** → all 5 signals are bearish
- **Mixed Trend** → anything in between
**How to Read the Dashboard**
- **Left column** = name of the level
- **Right column** = current price position ("Above" or "Below")
- **Green background** = price is above the level (bullish signal)
- **Red background** → price is below the level (bearish signal)
- **Bottom merged row** = overall trend verdict + large colored background
**Key Settings You Can Change**
- **Table Position** → top-right (default), top-left, bottom-left, bottom-right
- **Font Size** → tiny / small (default) / normal / large
- **Donchian Channel Period** → default 20 bars (classic value; adjust for faster/slower basis line)
- **Colors** (fully customizable):
- Left column text color (default: yellow)
- Bullish background (default: lime green)
- Bearish background (default: red)
- Mixed trend background (default: gray)
- Header background & text color
- **Alert toggles** → turn on/off notifications for:
- Trend changed → Strong Bullish
- Trend changed → Strong Bearish
- Trend changed → Mixed Trend
**Alerts**
Alerts fire only when the **overall trend status changes** (e.g. Mixed → Strong Bullish).
Recommended setup in TradingView:
1. Add the indicator to chart
2. Create alert → select this indicator
3. Condition = "Any alert() function call"
4. Frequency = "Once Per Bar Close" (cleanest for daily/lower-timeframe use)
5. Add your preferred notification (popup, email, webhook, etc.)
**Tips for Best Use**
- Works on any timeframe, but shines on intraday charts (5 min – 1 hour) when using daily previous levels.
- Previous-day levels update automatically at the start of each new trading day.
- On very low-liquidity symbols, VWAP may behave differently — test first.
- For scalping/day trading: watch when overall status flips to Strong Bullish/Bearish — often strong momentum confirmation.
- Customize colors so they stand out clearly against your chart background (e.g. darker green/red if chart is bright).
Enjoy cleaner, faster decision-making — all important levels in one glance!
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.