ZynAlgo Trend Mini

What this indicator does
ZynAlgo Trend Dashboard Mini scans up to five user-selected timeframes and summarizes the trend state for each, using one of three signal modes: MA Cross, Price vs MA, or RSI. It then aggregates these per-timeframe signals into an Overall Trend line and optionally shows a score count (bull/bear/neutral). A compact table dashboard renders in the corner you choose, with multiple themes or fully custom colors.
How it works (conceptual)
1) Per-timeframe signal
Choose a Signal Mode for classification:
MA Cross — compares fast vs. slow MA. If % distance exceeds Neutral Zone %, it’s Bullish/Bearish; otherwise Neutral.
Price vs MA — compares price to a single MA; % deviation beyond Neutral Zone is Bullish/Bearish; within it is Neutral.
RSI — RSI above Bullish Level ⇒ Bullish; below Bearish Level ⇒ Bearish; between the two ⇒ Neutral.
Supported MA types: EMA/SMA/HMA/WMA; lengths and thresholds are user-defined.
2) Multi-timeframe aggregation
The script counts Bullish/Bearish/Neutral outcomes across enabled TFs, then sets Overall Trend by majority (ties → Neutral). Optional score text shows the counts.
3) Dashboard rendering
Three display modes: Detailed, Compact, Minimal. You can position the panel in common corners/center and toggle title, overall row, and score.
Inputs (with tooltip-style guidance)
⏰ Timeframes
Enable Timeframe 1–5 / Timeframe 1–5 — turn on specific TFs (e.g., 5 / 15 / 60 / 240 / D). Tip: “Only enabled TFs are counted in the overall trend.”
📊 Signal Settings
Signal Mode (MA Cross / Price vs MA / RSI) — “Pick how each TF is classified.”
MA Type / Fast MA Length / Slow MA Length — “Used by MA Cross and Price vs MA; shorter fast MA reacts quicker; longer slow MA smooths noise.”
RSI Length / Bullish Level / Bearish Level — “Used by RSI mode; levels define bullish/bearish thresholds.”
Neutral Zone % — “Dead-band around 0% for MA-based modes; inside the band = Neutral.”
🎨 Display
Display Mode (Detailed / Compact / Minimal) — “Switch between full rows, condensed line, or icon-only view.”
Position — “Choose a chart corner/center for the panel.”
Show Overall Trend / Show Score Count / Show Dashboard Title — “Toggle the overall line, counts, and title.”
📝 Text & Size
Dashboard Title / Text Size / Timeframe Text Size — “Set panel title and font sizes independently.”
🎨 Theme & Colors
Color Theme — presets: Dark Neon / Dark Professional / Light Modern / Light Classic / Cyberpunk / Matrix / Custom. Tip: “Pick a preset; choose Custom to define every color.”
Custom Colors (active when Theme=Custom) — border/background/header/row/text/title/TF label and bull/bear/neutral colors.
🧱 Border & Background
Border Width — “0 hides the frame; higher values increase panel emphasis.”
Alternate Row — “Subtle row striping for readability.” (enabled in code)
🔔 Alerts
Enable Alerts — “Master on/off for the four prebuilt alerts.”
Using the indicator (suggested workflow)
Choose timeframes (e.g., M5/M15/H1/H4/D1). Disable any you don’t want counted.
Select a signal model that fits your playbook (MA Cross, Price vs MA, or RSI), then set MA/RSI lengths and the Neutral Zone %.
Pick a display mode & position. Toggle Overall Trend, Score Count, and Title as needed.
Style with a theme (or Custom colors) for readability on your chart background.
(Optional) Alerts: enable and then create alerts for unanimous or majority trends (see list below).
Reading the dashboard
Per-TF cells/icons: color and text show the state (BULLISH / BEARISH / NEUTRAL).
Overall Trend row: majority summary with ▲ / ▼ / ● icon; optional score shows counts (Bull/Bear/Neutral).
Built-in alert conditions
All Timeframes Bullish — every enabled TF is Bullish (requires ≥3 enabled).
All Timeframes Bearish — every enabled TF is Bearish (requires ≥3 enabled).
Majority Bullish — majority Bullish and Overall Trend = Bullish.
Majority Bearish — majority Bearish and Overall Trend = Bearish.
Hidden plots for Overall/Bull/Bear counts are available for alert logic/custom uses.
Three interchangeable models in one panel (MA Cross, Price-Deviation, RSI) → one UI, multiple perspectives.
Flexible aggregation that adapts to enabled TFs only (disabled TFs are excluded cleanly).
Compact, themeable UI with Detailed/Compact/Minimal layouts and corner/center anchoring — designed for clarity on busy charts.
Bar-confirmed calculations via request.security (no forward-looking values used in the logic described).
Lightweight implementation (table rendering and per-bar updates gated on barstate.islast) to minimize overhead in common workflows.
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với ZynAlgo.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với ZynAlgo.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.