PROTECTED SOURCE SCRIPT

HD_DİNAMİK SEMBOL-SİNYAL TABLO (STrend + EMA(25/99) – v6.2

53
HD_Dynamic Symbol–Signal Table (Short/Mid/Long) — SuperTrend + EMA(25/99) — v6.2

TL;DR
Invite-only indicator that builds a multi-symbol live signal table combining SuperTrend direction with EMA 25/99 state, across three timeframe groups: Short (5/15/30), Mid (45/60/120), Long (180/240/D).
Top 2 rows (e.g., BTC, ETH) always show the full 3×(ST, EMA) matrix; the remaining rows show the active group to stay lightweight. The table colors & texts are highly configurable, and the indicator emits clean alert messages you can route to webhooks (e.g., your bot).

1) What it does

Signal logic (per symbol & timeframe):

SuperTrend direction + EMA 25 vs 99 comparison.

Combination map:

ST=LONG & EMA=LONG → "LONG YAP"

ST=SHORT & EMA=SHORT → "SHORT YAP"

ST=SHORT & EMA=LONG → "SHORT/LONG YAP" (mixed)

ST=LONG & EMA=SHORT → "LONG/SHORT YAP" (mixed)

Timeframe groups

Short: 5/15/30

Mid: 45/60/120

Long: 180/240/D

Auto mode infers the group from the chart TF; Manual mode lets you pin a group.

Pinned priority rows: Row #1 and #2 (default BTC/ETH) always display all three TFs (ST & EMA pairs).

Dynamic list (rows 3–30): Shows only the active group for each symbol to stay fast and readable.

Implementation note: in this build the ST “up”/“down” plotting uses the SuperTrend dir sign convention where dir < 0 is rendered as Uptrend and dir > 0 as Downtrend in visuals. The table/alerts already normalize this into LONG/SHORT text.

2) Table, styling & filters

Placement & fonts: position, title/group/header/body font sizes.

Colors: per-cell/background for header rows, LONG/SHORT states, and distinct brand colors per symbol row (BTC=blue, ETH=amber, majors=greens, mid-caps=oranges, high-risk=reds, new/hyped=purple range).

Symbol column text: “Symbol only”, “Short+Symbol”, or “Short only”.

Filter: Show All / LONG YAP / SHORT YAP / SHORT/LONG YAP / LONG/SHORT YAP. (Pinned BTC/ETH still visible.)

3) Alerts & webhook messages

Per-row alerts: When the active TF for a row resolves on bar close, the indicator sends:

<prefix>|symbol=<SYMBOL>|tf=<TF>|signal=<TEXT>


Example: HD_ST_EMA|symbol=BINANCE:BTCUSDT|tf=15|signal=LONG YAP
Configure the alert to Once per bar close and set a webhook URL if you want to forward to an execution bot.

Ready-made alertconditions (Robot block):
Select a single alarmSymbol and get four conditions: LONG YAP, SHORT YAP, SHORT/LONG YAP, LONG/SHORT YAP.

Chart-symbol conditions: Extra alertconditions for EMA LONG/SHORT and ST LONG/SHORT on the current chart symbol, if you also want single-symbol triggers.

4) Drawing package (optional)

SuperTrend line with Up/Down segments and trend-flip labels.

EMA 25/99 lines and cross labels.

Main mixed-state labels for the chart symbol can be toggled (LONG/SHORT & mixed cases).

5) Symbols & safety

Priority inputs (#1–2) for BTC/ETH; inputs #3–30 for your list (supports formats like BINANCE:BTCUSDT or BTCUSDT.P).

A basic format validator ignores obviously malformed tickers to avoid request errors.

request.security() powers all multi-TF/multi-symbol reads.

6) How to use

Add indicator to the chart.

Choose Auto (group follows chart TF) or pick Short/Mid/Long manually.

Fill your symbol list (rows 3–30). BTC & ETH are pinned at the top.

Set filter (or keep “All”).

(Optional) Adjust fonts/colors and the “Symbol column” text mode.

Turn Alert on; set alertPrefix if you need a specific route tag.

Create an alert on the indicator, Once per bar close, and (optionally) add a webhook URL.

7) Notes & limits

This is an indicator (no orders are placed). Use the alerts to trigger your own automation.

Designed for crypto symbols; works on other markets if your vendor supports the tickers/timeframes.

Table resizes dynamically to your active list; heavy watchlists may still be constrained by platform limits.

8) Disclaimer

Educational use only. Not financial advice. Past performance does not guarantee future results.

Changelog

v6.2 — Auto/Manual TF-grouping, pinned BTC/ETH tri-TF view, robust alert text format, color-coded priorities, safer symbol validation, ST/EMA flip labels, dynamic table sizing.

Türkçe Özet

Ne yapar?
Birden fazla sembol için SuperTrend + EMA(25/99) durumunu üç periyot grubunda (Kısa 5/15/30 – Orta 45/60/120 – Uzun 180/240/Günlük) tek tabloda gösterir.
BTC/ETH ilk iki satırda her zaman 3×(ST, EMA) birlikte görünür; diğer satırlar aktif gruba göre (performans için) tek grup gösterir.

Sinyal mantığı

İkisi de LONG → LONG YAP

İkisi de SHORT → SHORT YAP

Karışık → SHORT/LONG YAP veya LONG/SHORT YAP (ST/EMA’ya göre)

Alarm & Webhook

Satır bazlı alarm metni:
HD_ST_EMA|symbol=...|tf=...|signal=... (bar kapanışında).

“Robot” bölümünde tek bir sembol için 4 ayrı alertcondition hazır.

Grafikteki sembol için ayrıca EMA LONG/SHORT ve ST LONG/SHORT koşulları da var.

Kullanım

Otomatik/Elle grup seç;

Listeyi doldur (3–30);

Filtre/renk/yazı ayarla;

Alarmı aç ve Once per bar close ile kur; gerekiyorsa webhook URL ekle.

Not
Gösterge emir vermez; sinyalleri kendi köprüne/botuna yönlendirirsin. Yatırım tavsiyesi değildir.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.