本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。
//@version=6
// Crypto Perp Pulse: Scalping Activity Radar [Artio]
// Version 2.1.0 | Open-source publication build | 2026-10-28
// Activity discovery, NOT a trading strategy or a source of trade-side order flow.
// 18 curated USDT perpetuals x two requested timeframes = up to 36 unique requests.
// Live 5m/1m readings are provisional until their own requested bars close.
indicator("Crypto Perp Pulse: Scalping Activity Radar [Artio]", shorttitle="PerpPulse", overlay=false, dynamic_requests=true, precision=2)
// ── 00. LANGUAGE / ЯЗЫК ──────────────────────────────────────────────────────
string G0 = "00 / LANGUAGE - ЯЗЫК"
string language = input.string("English", "Language / Язык", options=["English", "Русский"], group=G0)
bool ru = language == "Русский"
// Pine input titles are static; the dashboard, explanations and statuses are localized.
// ── 01. UNIVERSE / РЫНОК ─────────────────────────────────────────────────────
string G1 = "01 / MARKET - РЫНОК"
string exchange = input.string("BYBIT", "Exchange / Биржа", options=["BYBIT", "BINANCE"], group=G1)
int rowsToShow = input.int(12, "Visible rows / Строк", minval=6, maxval=18, group=G1)
// ── 02. FILTERS / ФИЛЬТРЫ ────────────────────────────────────────────────────
string G2 = "02 / ACTIVITY FILTERS - ФИЛЬТРЫ"
float minNatr5 = input.float(0.25, "Min 5m NATR % / Волатильность", minval=0.05, maxval=5.0, step=0.05, group=G2, tooltip="ATR(14) of the last completed 5m bar divided by that bar's close. / ATR завершённой свечи 5m относительно её цены.")
float minRvol5 = input.float(1.50, "Min 5m RVOL pace / Объём 5m", minval=0.5, maxval=20, step=0.1, group=G2)
float minPulse1 = input.float(1.80, "Min 1m pulse / Импульс 1m", minval=0.5, maxval=20, step=0.1, group=G2)
float minRangeX = input.float(1.10, "Min 5m range / Диапазон 5m", minval=0.5, maxval=10, step=0.05, group=G2)
bool requireRange = input.bool(false, "Require range for HOT / Требовать диапазон", group=G2, tooltip="OFF: high-volume activity can qualify even when price is contained (possible absorption). ON: also require 5m true range / prior ATR >= selected minimum. / OFF допускает активность без движения цены.")
float minTurn5 = input.float(250000.0, "Min avg 5m quote turnover / Оборот USDT", minval=0, maxval=100000000, step=50000, group=G2, tooltip="Previous 48 x 5m mean quote turnover. Quote-volume feeds are used directly; base-volume feeds are estimated as volume x close. Unknown volume units are only approximations. / Средний объём торгов за 48 закрытых свечей 5m, приблизительная оценка при неизвестных единицах фида.")
// ── 03. VIEW / ОТОБРАЖЕНИЕ ───────────────────────────────────────────────────
string G3 = "03 / DISPLAY - ЭКРАН"
bool activeOnly = input.bool(false, "Only WATCH/HOT/IGNITE / Только активные", group=G3)
int fontPt = input.int(10, "Data font (pt) / Шрифт", minval=8, maxval=14, group=G3)
// ── 04. ALERTS / УВЕДОМЛЕНИЯ ─────────────────────────────────────────────────
string G4 = "04 / ALERTS - АЛЕРТЫ"
bool enableAlerts = input.bool(false, "Enable breadth alerts / Включить алерты", group=G4, tooltip="Aggregate alerts, not buy/sell signals. Set the TradingView alert to Once Per Bar Close. A 1m crypto chart is recommended. / Алерты по общему числу активных монет, не торговые сигналы. Выберите закрытие свечи.")
int alertHotAt = input.int(2, "HOT breadth threshold / Порог HOT", minval=1, maxval=18, group=G4)
// ── PALETTE ──────────────────────────────────────────────────────────────────
color BG = color.rgb(8, 14, 23)
color ROW = color.rgb(13, 23, 36)
color HEAD = color.rgb(31, 54, 82)
color HEAD2 = color.rgb(22, 41, 61)
color LINE = color.rgb(39, 59, 78)
color INK = color.rgb(230, 238, 244)
color DIM = color.rgb(135, 153, 172)
color GREEN = color.rgb(43, 216, 155)
color RED = color.rgb(255, 92, 114)
color AMBER = color.rgb(255, 195, 82)
color BLUE = color.rgb(95, 171, 255)
color CYAN = color.rgb(98, 218, 232)
// ── HELPERS ──────────────────────────────────────────────────────────────────
f_clip(float x, float lo, float hi) =>
math.max(lo, math.min(hi, x))
f_fmt(float x, string pattern) =>
na(x) ? "—" : str.tostring(x, pattern)
f_signed(float x) =>
na(x) ? "—" : (x > 0 ? "+" : "") + str.tostring(x, "#.00") + "%"
f_money(float x) =>
na(x) ? "—" : x >= 1e9 ? str.tostring(x / 1e9, "#.00") + "B" : x >= 1e6 ? str.tostring(x / 1e6, "#.00") + "M" : x >= 1e3 ? str.tostring(x / 1e3, "#.0") + "K" : str.tostring(x, "#")
f_heat(float x, float watch, float hot) =>
na(x) ? color.new(DIM, 85) : x >= hot ? color.new(GREEN, 79) : x >= watch ? color.new(AMBER, 86) : ROW
// In quote-volume feeds, volume is ALREADY denominated in the quote currency.
// Multiplying quote volume by price again would overstate liquidity.
// In base-volume feeds, volume x close is an approximation of quote turnover.
// 'n/a' is allowed with an explicit estimation warning; 'tick' is rejected
// from the USDT turnover gate as it does not represent traded asset units.
f_quote_turnover() =>
string vt = syminfo.volumetype
float q = vt == "quote" ? volume : vt == "tick" ? na : volume * close
int quality = vt == "quote" ? 2 : vt == "base" ? 1 : vt == "tick" ? -1 : 0
[q, quality]
f_five_min() =>
[quoteVol, qQuality] = f_quote_turnover()
float avgQ = ta.sma(quoteVol, 48)[1]
float priorAtr = ta.atr(14)[1]
float natr = not na(priorAtr) and close[1] > 0 ? 100.0 * priorAtr / close[1] : na
float rangeX = not na(priorAtr) and priorAtr > 0 ? ta.tr(true) / priorAtr : na
float movePct = open > 0 ? 100.0 * (close / open - 1.0) : na
float location = high > low ? 2.0 * (close - low) / (high - low) - 1.0 : 0.0
float periodMs = math.max(1.0, float(time_close - time))
float progress = barstate.isrealtime ? f_clip(float(timenow - time) / periodMs, 0.20, 1.0) : 1.0
float rvolPace = not na(avgQ) and avgQ > 0 and not na(quoteVol) ? quoteVol / progress / avgQ : na
[close, natr, movePct, rvolPace, avgQ, rangeX, location, qQuality, time]
f_one_min() =>
float avgVol = ta.sma(volume, 30)[1]
float periodMs = math.max(1.0, float(time_close - time))
float progress = barstate.isrealtime ? f_clip(float(timenow - time) / periodMs, 0.20, 1.0) : 1.0
float pulse = not na(avgVol) and avgVol > 0 and not na(volume) ? volume / progress / avgVol : na
float location = high > low ? 2.0 * (close - low) / (high - low) - 1.0 : 0.0
[pulse, location, time]
// ── 18 SYMBOLS / 36 CONTEXTS (within TV's standard 40-request limit) ────────
var array<string> BASES = array.from("BTC", "ETH", "SOL", "XRP", "BNB", "DOGE", "SUI", "HYPE", "LINK", "AVAX", "TAO", "ADA", "LTC", "BCH", "AAVE", "NEAR", "PEPE", "WIF")
var array<string> names = array.new_string()
var array<float> scores = array.new_float()
var array<float> natrs = array.new_float()
var array<float> moves = array.new_float()
var array<float> rvols = array.new_float()
var array<float> pulses = array.new_float()
var array<float> turns = array.new_float()
var array<float> ranges = array.new_float()
var array<float> biases = array.new_float()
var array<int> states = array.new_int()
var array<int> turnoverQualities = array.new_int()
// The scanner has no historical plots. Load all request contexts on the final
// historical bar (so they exist before realtime), then refresh on live updates.
// This avoids executing 36 data requests for every historical chart bar.
bool scanNow = barstate.islastconfirmedhistory or barstate.islast
int validCount = 0
int hotCount = 0
int igniteCount = 0
int upCount = 0
int estimatedCount = 0
float btcMove = na
float ethMove = na
if scanNow
array.clear(names)
array.clear(scores)
array.clear(natrs)
array.clear(moves)
array.clear(rvols)
array.clear(pulses)
array.clear(turns)
array.clear(ranges)
array.clear(biases)
array.clear(states)
array.clear(turnoverQualities)
for i = 0 to array.size(BASES) - 1
string base = array.get(BASES, i)
string symbol = exchange + ":" + base + "USDT.P"
[px, natr5, move5, rvol5, avgQ5, rangeX, loc5, quality5, t5] = request.security(symbol, "5", f_five_min(), gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off, ignore_invalid_symbol=true, calc_bars_count=100)
[pulse1Raw, loc1, t1] = request.security(symbol, "1", f_one_min(), gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off, ignore_invalid_symbol=true, calc_bars_count=55)
// Reject stale 5m market data on realtime bars. A missing/stale 1m feed
// only disables the pulse input; 5m activity may still be evaluated.
bool recent5 = not barstate.isrealtime or (not na(t5) and timenow >= t5 and timenow - t5 < 600000)
bool recent1 = not barstate.isrealtime or (not na(t1) and timenow >= t1 and timenow - t1 < 180000)
float pulse1 = recent1 ? pulse1Raw : na
bool valid = recent5 and not na(px) and not na(natr5) and not na(rvol5) and not na(avgQ5) and not na(rangeX)
bool liquid = valid and avgQ5 >= minTurn5
// 0–100 activity score. No claim of expected return or direction.
float sN = valid ? f_clip(natr5 / math.max(minNatr5 * 2.5, 0.01), 0.0, 1.0) : 0.0
float sV = valid ? f_clip((rvol5 - 0.8) / 2.7, 0.0, 1.0) : 0.0
float sP = not na(pulse1) ? f_clip((pulse1 - 0.8) / 3.7, 0.0, 1.0) : 0.0
float sR = valid ? f_clip((rangeX - 0.7) / 1.8, 0.0, 1.0) : 0.0
float sM = valid ? f_clip(math.abs(move5) / math.max(natr5 * 1.25, 0.05), 0.0, 1.0) : 0.0
float sL = valid ? f_clip(avgQ5 / math.max(minTurn5 * 8.0, 1.0), 0.0, 1.0) : 0.0
float score = f_clip(22.0 * sN + 24.0 * sV + 24.0 * sP + 14.0 * sR + 10.0 * sM + 6.0 * sL, 0.0, 100.0)
bool volumeKick = rvol5 >= minRvol5 or pulse1 >= minPulse1
bool rangePass = not requireRange or rangeX >= minRangeX
bool trigger = liquid and natr5 >= minNatr5 and volumeKick and rangePass
int state = trigger and score >= 78 ? 3 : trigger and score >= 62 ? 2 : liquid and score >= 48 ? 1 : 0
// Price-close location weighted by observed relative activity.
// BIAS is NOT exchange aggressor delta, volume delta or order flow.
float bias = na
if valid
float b5 = loc5 * f_clip(rvol5 / 2.0, 0.0, 1.5)
float b1 = not na(pulse1) ? loc1 * f_clip(pulse1 / 2.0, 0.0, 1.5) : 0.0
bias := f_clip(0.55 * b5 + 0.45 * b1, -1.5, 1.5)
array.push(names, base)
array.push(scores, valid ? score : -1.0)
array.push(natrs, natr5)
array.push(moves, move5)
array.push(rvols, rvol5)
array.push(pulses, pulse1)
array.push(turns, avgQ5)
array.push(ranges, rangeX)
array.push(biases, bias)
array.push(states, state)
array.push(turnoverQualities, quality5)
if valid
validCount += 1
if move5 > 0
upCount += 1
if state >= 2
hotCount += 1
if state == 3
igniteCount += 1
if quality5 == 0
estimatedCount += 1
if base == "BTC"
btcMove := valid ? move5 : na
if base == "ETH"
ethMove := valid ? move5 : na
// ── ALERTS: AGGREGATE ACTIVITY, NOT TRADE SIGNALS ────────────────────────────
// 'confirmed' applies to the HOST chart bar only; developing 5m requests
// remain provisional and may change after reload. Prefer a live 1m crypto chart.
var int lastCommittedHot = na
var int lastCommittedIgnite = na
bool hotBreadthAlert = scanNow and barstate.isrealtime and barstate.isconfirmed and enableAlerts and not na(lastCommittedHot) and hotCount >= alertHotAt and lastCommittedHot < alertHotAt
bool igniteAlert = scanNow and barstate.isrealtime and barstate.isconfirmed and enableAlerts and not na(lastCommittedIgnite) and igniteCount > 0 and lastCommittedIgnite == 0
alertcondition(hotBreadthAlert and not ru, "Perp Pulse - HOT breadth (EN)", "Perp Pulse [Artio]: HOT activity breadth crossed the selected threshold. Activity only; not a trade signal.")
alertcondition(hotBreadthAlert and ru, "Perp Pulse - HOT breadth (RU)", "Perp Pulse [Artio]: количество активных фьючерсов пересекло выбранный порог. Это не сигнал входа.")
alertcondition(igniteAlert and not ru, "Perp Pulse - IGNITE appeared (EN)", "Perp Pulse [Artio]: IGNITE activity appeared in one or more tracked perpetuals. Developing 5m values can revise.")
alertcondition(igniteAlert and ru, "Perp Pulse - IGNITE appeared (RU)", "Perp Pulse [Artio]: у одного или нескольких фьючерсов появился статус ВСПЛЕСК. Текущие 5m могут измениться.")
if scanNow and barstate.isconfirmed
lastCommittedHot := hotCount
lastCommittedIgnite := igniteCount
// ── COMPACT ADAPTIVE TABLE ───────────────────────────────────────────────────
// Row indices: 0–4 heading, 5 column labels, 6..5+rowsToShow data,
// 6+rowsToShow .. 8+rowsToShow footer.
int footerRow = rowsToShow + 6
var table T = table.new(position.middle_center, 11, rowsToShow + 9, bgcolor=BG, frame_color=LINE, frame_width=1, border_color=LINE, border_width=1)
if barstate.isfirst
for hdr = 0 to 4
table.merge_cells(T, 0, hdr, 10, hdr)
for foot = footerRow to footerRow + 2
table.merge_cells(T, 0, foot, 10, foot)
if barstate.islast
float breadth = validCount > 0 ? 100.0 * upCount / validCount : na
string regime = validCount == 0 ? (ru ? "НЕТ ДАННЫХ" : "NO DATA") : validCount < 9 ? (ru ? "ЧАСТИЧНЫЕ ДАННЫЕ" : "PARTIAL DATA") : hotCount >= 6 ? (ru ? "ШИРОКАЯ АКТИВНОСТЬ" : "BROAD EXPANSION") : hotCount >= 2 ? (ru ? "ВЫБОРОЧНАЯ АКТИВНОСТЬ" : "SELECTIVE ACTIVITY") : (ru ? "СПОКОЙНЫЙ РЫНОК" : "QUIET / NO BROAD EXPANSION")
color regimeBg = validCount < 9 ? color.new(RED, 86) : hotCount >= 6 ? color.new(GREEN, 79) : hotCount >= 2 ? color.new(AMBER, 83) : ROW
string heading = ru ? "CRYPTO PERP PULSE / РАДАР АКТИВНОСТИ / [Artio]" : "CRYPTO PERP PULSE / SCALPING ACTIVITY RADAR / [Artio]"
string subtitle = ru ? exchange + " • 18 отслеживаемых USDT-фьючерсов • 5m + 1m • LIVE ≈" : exchange + " • 18 tracked USDT perpetuals • 5m + 1m • LIVE ≈"
string marketLine = (ru ? "РЫНОК BTC " : "MARKET BTC ") + f_signed(btcMove) + " | ETH " + f_signed(ethMove) + " | " + (ru ? "РОСТ " : "UP ") + (na(breadth) ? "—" : str.tostring(breadth, "#") + "%") + " | HOT " + str.tostring(hotCount) + " | " + (ru ? "ДАННЫЕ " : "VALID ") + str.tostring(validCount) + "/18"
string sectionLine = ru ? "01 / РЕЙТИНГ АКТИВНОСТИ — оценка не является направлением сделки" : "01 / ACTIVITY RANKING — score is NOT a trade-direction signal"
table.cell(T, 0, 0, heading, text_color=color.white, bgcolor=HEAD, text_size=fontPt + 2, text_halign=text.align_left, height=5)
table.cell(T, 0, 1, subtitle, text_color=CYAN, bgcolor=ROW, text_size=fontPt, text_halign=text.align_left, height=4)
table.cell(T, 0, 2, marketLine, text_color=INK, bgcolor=ROW, text_size=fontPt, text_halign=text.align_left, height=4)
table.cell(T, 0, 3, (ru ? "РЕЖИМ / " : "REGIME / ") + regime, text_color=INK, bgcolor=regimeBg, text_size=fontPt, text_halign=text.align_left, height=4)
table.cell(T, 0, 4, sectionLine, text_color=INK, bgcolor=HEAD2, text_size=fontPt, text_halign=text.align_left, height=4)
int thSize = math.max(fontPt - 1, 8)
table.cell(T, 0, 5, "#", width=4, bgcolor=HEAD2, text_color=DIM, text_size=thSize)
table.cell(T, 1, 5, ru ? "МОНЕТА" : "SYMBOL", width=10, bgcolor=HEAD2, text_color=INK, text_size=thSize, text_halign=text.align_left)
table.cell(T, 2, 5, ru ? "СТАТУС" : "STATE", width=11, bgcolor=HEAD2, text_color=INK, text_size=thSize)
table.cell(T, 3, 5, ru ? "БАЛЛ" : "SCORE", width=8, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="0–100 weighted activity index; not direction or probability. / Оценка активности, не вероятность прибыли.")
table.cell(T, 4, 5, "NATR5", width=9, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Previous completed 5m ATR(14) / previous close, in %. / ATR 5m предыдущей закрытой свечи в %.")
table.cell(T, 5, 5, ru ? "ХОД 5m" : "MOVE 5m", width=10, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Current 5-minute price change open-to-last; NOT delta. / Изменение цены, НЕ дельта.")
table.cell(T, 6, 5, "RVOL5", width=9, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Current 5m quote-volume pace / mean of previous 48 completed 5m bars. Early-bar extrapolation is approximate. / Текущий темп против средних 48 свечей.")
table.cell(T, 7, 5, ru ? "ИМП. 1m" : "PULSE 1m", width=10, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Current 1m volume pace / mean of previous 30 completed minutes. / Темп объёма 1m против предыдущих 30 минут.")
table.cell(T, 8, 5, "RANGE", width=9, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Current 5m true range / previous 5m ATR(14). / Текущий диапазон относительно ATR.")
table.cell(T, 9, 5, ru ? "ОБОРОТ~" : "TURN~", width=11, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Average prior 48x5m quote turnover; estimated if feed reports base/unknown volume. / Средний оборот, приблизительная оценка.")
table.cell(T, 10, 5, ru ? "УКЛОН~" : "BIAS~", width=10, bgcolor=HEAD2, text_color=INK, text_size=thSize, tooltip="Signed close-location / volume-pace price bias. NOT buy/sell aggressor flow, CVD or bid/ask delta. / Смещение закрытия внутри диапазона, НЕ биржевая дельта.")
array<int> sorted = array.sort_indices(scores, order.descending)
int printed = 0
for k = 0 to array.size(sorted) - 1
int idx = array.get(sorted, k)
float score = array.get(scores, idx)
int st = array.get(states, idx)
bool showThis = score >= 0 and (not activeOnly or st >= 1)
if showThis and printed < rowsToShow
int r = 6 + printed
string name = array.get(names, idx)
float na5 = array.get(natrs, idx)
float mv = array.get(moves, idx)
float rv = array.get(rvols, idx)
float pulse = array.get(pulses, idx)
float rng = array.get(ranges, idx)
float quoteTurn = array.get(turns, idx)
float bias = array.get(biases, idx)
int quality = array.get(turnoverQualities, idx)
color bgRow = printed % 2 == 0 ? BG : ROW
string stText = st == 3 ? (ru ? "ВСПЛЕСК" : "IGNITE") : st == 2 ? (ru ? "АКТИВНО" : "HOT") : st == 1 ? (ru ? "СЛЕЖУ" : "WATCH") : (ru ? "ТИХО" : "QUIET")
color stCol = st == 3 ? AMBER : st == 2 ? GREEN : st == 1 ? BLUE : DIM
string biasText = na(bias) ? "—" : bias >= 0.28 ? "▲ " + f_fmt(bias, "#.00") : bias <= -0.28 ? "▼ " + f_fmt(math.abs(bias), "#.00") : "↔ " + f_fmt(bias, "#.00")
color biasCol = na(bias) ? DIM : bias >= 0.28 ? GREEN : bias <= -0.28 ? RED : DIM
string turnoverText = f_money(quoteTurn) + (quality == 2 ? "" : "~")
table.cell(T, 0, r, str.tostring(printed + 1), bgcolor=bgRow, text_color=DIM, text_size=fontPt, height=3)
table.cell(T, 1, r, name, bgcolor=bgRow, text_color=INK, text_size=fontPt, text_halign=text.align_left, height=3)
table.cell(T, 2, r, stText, bgcolor=color.new(stCol, 84), text_color=stCol, text_size=fontPt, height=3)
table.cell(T, 3, r, f_fmt(score, "#"), bgcolor=score >= 78 ? color.new(AMBER, 81) : score >= 62 ? color.new(GREEN, 85) : score >= 48 ? color.new(BLUE, 88) : bgRow, text_color=score >= 78 ? AMBER : score >= 62 ? GREEN : score >= 48 ? BLUE : DIM, text_size=fontPt, height=3)
table.cell(T, 4, r, f_fmt(na5, "#.00") + "%", bgcolor=f_heat(na5, minNatr5 * 0.8, minNatr5), text_color=na5 >= minNatr5 ? GREEN : INK, text_size=fontPt, height=3)
table.cell(T, 5, r, f_signed(mv), bgcolor=bgRow, text_color=mv > 0 ? GREEN : mv < 0 ? RED : DIM, text_size=fontPt, height=3)
table.cell(T, 6, r, f_fmt(rv, "#.00") + "x", bgcolor=f_heat(rv, minRvol5 * 0.8, minRvol5), text_color=rv >= minRvol5 ? GREEN : INK, text_size=fontPt, height=3)
table.cell(T, 7, r, f_fmt(pulse, "#.00") + (na(pulse) ? "" : "x"), bgcolor=f_heat(pulse, minPulse1 * 0.75, minPulse1), text_color=pulse >= minPulse1 ? AMBER : INK, text_size=fontPt, height=3)
table.cell(T, 8, r, f_fmt(rng, "#.00") + "x", bgcolor=f_heat(rng, minRangeX * 0.85, minRangeX), text_color=rng >= minRangeX ? GREEN : INK, text_size=fontPt, height=3)
table.cell(T, 9, r, turnoverText, bgcolor=quoteTurn >= minTurn5 ? bgRow : color.new(RED, 91), text_color=quoteTurn >= minTurn5 ? INK : DIM, text_size=fontPt, height=3)
table.cell(T, 10, r, biasText, bgcolor=bgRow, text_color=biasCol, text_size=fontPt, height=3)
printed += 1
if printed < rowsToShow
for r = 6 + printed to 5 + rowsToShow
for c = 0 to 10
table.cell(T, c, r, "", bgcolor=BG, height=3)
if printed == 0
table.cell(T, 1, 6, ru ? "Нет подходящих инструментов" : "No matching symbols", bgcolor=BG, text_color=DIM, text_size=fontPt, text_halign=text.align_left, height=3)
string filterLine = (ru ? "02 / ФИЛЬТРЫ NATR5 ≥ " : "02 / FILTERS NATR5 >= ") + str.tostring(minNatr5, "#.00") + "% • RVOL5 >= " + str.tostring(minRvol5, "#.00") + "x / PULSE1 >= " + str.tostring(minPulse1, "#.00") + "x • " + (requireRange ? "RANGE >= " + str.tostring(minRangeX, "#.00") + "x" : (ru ? "RANGE необязателен" : "RANGE optional")) + " • TURN >= " + f_money(minTurn5)
string readingLine = ru ? "03 / СОСТОЯНИЯ ВСПЛЕСК = сильная активность • АКТИВНО = фильтры пройдены • СЛЕЖУ = активность растёт • ТИХО = нет расширения" : "03 / STATES IGNITE = strongest activity • HOT = gates passed • WATCH = activity rising • QUIET = no expansion"
string footnote = ru ? "LIVE ≈ незакрытые 5m/1m могут меняться. TURN~ = оценочный оборот USDT (48x5m); BIAS~ = ценовой прокси, НЕ delta/CVD. Не является сигналом. " : "LIVE ≈ developing 5m/1m can change. TURN~ = estimated USDT turnover (48x5m); BIAS~ = price proxy, NOT delta/CVD. Not a trade signal. "
string feedHint = estimatedCount > 0 ? (ru ? "Фидов с неизвестной единицей объёма: " : "Unknown volume units: ") + str.tostring(estimatedCount) : ""
table.cell(T, 0, footerRow, filterLine, bgcolor=HEAD2, text_color=INK, text_size=thSize, text_halign=text.align_left, height=3)
table.cell(T, 0, footerRow + 1, readingLine, bgcolor=ROW, text_color=INK, text_size=thSize, text_halign=text.align_left, height=3)
table.cell(T, 0, footerRow + 2, footnote + feedHint, bgcolor=ROW, text_color=DIM, text_size=thSize, text_halign=text.align_left, height=3)
plot(na, title="Dashboard only", display=display.none)