PINE LIBRARY
업데이트됨 SNIFOFF_51_Lang3

Library "SNIFOFF_51_Lang3"
Multilingual translation layer (Group 3) for Smart Trader, SNIF-OFF 5.1, Trade Finder.
Provides 9 exported functions covering the Trade Finder and Signal Health dashboard rows,
the S17/S18/S19 volume scenarios, the PROVISIONAL badge, the Native footprint texts,
12 tooltips, and 4 helper affixes.
All 7 languages live in this single library; SNIFOFF_51_Lang and SNIFOFF_51_Lang2 stay frozen.
f_trVol3(en, lang)
Translates the S17/S18/S19 volume scenario labels.
Parameters:
en (string): The English scenario label from f_volScenarioMsg (S17/S18/S19 keys only).
lang (string): The dashboard language selected by the user.
Returns: The translated scenario label. Unmapped inputs return unchanged.
f_volNarr3(sid, deltaDir, liveAlert, lang)
Builds the S17/S18/S19 volume narrative with optional live-spike overlay.
Parameters:
sid (string): Scenario ID: "S17", "S18", or "S19". Any other ID returns "".
deltaDir (int): Anchored delta direction (+1 buyers, -1 sellers, 0 balanced) — S17 wording.
liveAlert (bool): Explosive bar [0] volume spike flag (Live Exception protocol).
lang (string): The dashboard language selected by the user.
Returns: The multi-line narrative string, or "" for unknown scenario IDs.
f_trBadge3(en, lang)
Translates the Signal Health PROVISIONAL badge.
Parameters:
en (string): The English badge label ("◌ PROVISIONAL").
lang (string): The dashboard language selected by the user.
Returns: The translated badge label. Unmapped inputs return unchanged.
f_trTitle3(en, lang)
Translates the Trade Finder and Signal Health section titles.
Parameters:
en (string): The English section title.
lang (string): The dashboard language selected by the user.
Returns: The translated section title. Unmapped inputs return unchanged.
f_trTf(en, lang)
Translates Trade Finder and Signal Health state and watch labels.
Parameters:
en (string): The English state or watch label.
lang (string): The dashboard language selected by the user.
Returns: The translated label. Unmapped inputs return unchanged.
f_tfNarrative(state, dir, consensus, lang)
Builds the Trade Finder narrative row text.
Parameters:
state (int): State code 1..10 (see section header for the mapping).
dir (int): Composite pressure direction (+1 bullish, -1 bearish, 0 flat).
consensus (int): Number of dimensions agreeing with the composite direction (0-5).
lang (string): The dashboard language selected by the user.
Returns: The narrative string for the Trade Finder dashboard row.
f_trTipTf(key, lang)
Returns translated tooltip text for Trade Finder and Signal Health cells.
Parameters:
key (string): Tooltip key identifier (see section header for valid keys).
lang (string): The dashboard language selected by the user.
Returns: The translated tooltip string. Empty string for unknown keys.
f_trInline3(key, lang)
Returns translated helper affixes used inside composed dashboard strings.
Parameters:
key (string): Affix key identifier: agree_sfx, live_sfx, bull_pfx, bear_pfx.
lang (string): The dashboard language selected by the user.
Returns: The translated affix string. Empty string for unknown keys.
f_trTipFp3(key, lang)
Returns Native-footprint display texts for the dashboard.
Parameters:
key (string): Text key: fp_title_nat, fp_lock_nat, fp_lock_tip_nat, fp_badge_nat.
lang (string): The dashboard language selected by the user.
Returns: The translated text. Empty string for unknown keys.
Multilingual translation layer (Group 3) for Smart Trader, SNIF-OFF 5.1, Trade Finder.
Provides 9 exported functions covering the Trade Finder and Signal Health dashboard rows,
the S17/S18/S19 volume scenarios, the PROVISIONAL badge, the Native footprint texts,
12 tooltips, and 4 helper affixes.
All 7 languages live in this single library; SNIFOFF_51_Lang and SNIFOFF_51_Lang2 stay frozen.
f_trVol3(en, lang)
Translates the S17/S18/S19 volume scenario labels.
Parameters:
en (string): The English scenario label from f_volScenarioMsg (S17/S18/S19 keys only).
lang (string): The dashboard language selected by the user.
Returns: The translated scenario label. Unmapped inputs return unchanged.
f_volNarr3(sid, deltaDir, liveAlert, lang)
Builds the S17/S18/S19 volume narrative with optional live-spike overlay.
Parameters:
sid (string): Scenario ID: "S17", "S18", or "S19". Any other ID returns "".
deltaDir (int): Anchored delta direction (+1 buyers, -1 sellers, 0 balanced) — S17 wording.
liveAlert (bool): Explosive bar [0] volume spike flag (Live Exception protocol).
lang (string): The dashboard language selected by the user.
Returns: The multi-line narrative string, or "" for unknown scenario IDs.
f_trBadge3(en, lang)
Translates the Signal Health PROVISIONAL badge.
Parameters:
en (string): The English badge label ("◌ PROVISIONAL").
lang (string): The dashboard language selected by the user.
Returns: The translated badge label. Unmapped inputs return unchanged.
f_trTitle3(en, lang)
Translates the Trade Finder and Signal Health section titles.
Parameters:
en (string): The English section title.
lang (string): The dashboard language selected by the user.
Returns: The translated section title. Unmapped inputs return unchanged.
f_trTf(en, lang)
Translates Trade Finder and Signal Health state and watch labels.
Parameters:
en (string): The English state or watch label.
lang (string): The dashboard language selected by the user.
Returns: The translated label. Unmapped inputs return unchanged.
f_tfNarrative(state, dir, consensus, lang)
Builds the Trade Finder narrative row text.
Parameters:
state (int): State code 1..10 (see section header for the mapping).
dir (int): Composite pressure direction (+1 bullish, -1 bearish, 0 flat).
consensus (int): Number of dimensions agreeing with the composite direction (0-5).
lang (string): The dashboard language selected by the user.
Returns: The narrative string for the Trade Finder dashboard row.
f_trTipTf(key, lang)
Returns translated tooltip text for Trade Finder and Signal Health cells.
Parameters:
key (string): Tooltip key identifier (see section header for valid keys).
lang (string): The dashboard language selected by the user.
Returns: The translated tooltip string. Empty string for unknown keys.
f_trInline3(key, lang)
Returns translated helper affixes used inside composed dashboard strings.
Parameters:
key (string): Affix key identifier: agree_sfx, live_sfx, bull_pfx, bear_pfx.
lang (string): The dashboard language selected by the user.
Returns: The translated affix string. Empty string for unknown keys.
f_trTipFp3(key, lang)
Returns Native-footprint display texts for the dashboard.
Parameters:
key (string): Text key: fp_title_nat, fp_lock_nat, fp_lock_tip_nat, fp_badge_nat.
lang (string): The dashboard language selected by the user.
Returns: The translated text. Empty string for unknown keys.
릴리즈 노트
v2Added:
f_cmTip(kind, sigCode, align, convCode, coupName, momCode, volName, score, consensus, bullScr, bearScr, trace, contDir, domScr, prevScr, lang)
Builds the confluence mark tooltip for chart labels.
Parameters:
kind (int): Mark kind: +1 bullish, -1 bearish, 0 indecision (tie).
sigCode (int): Trend signal code 5..10 (gate G1 guarantees the range on mark bars).
align (int): Multi-scale alignment score (-6..+6).
convCode (int): Conviction code: 1 HIGH, 2 MODERATE, 3 LOW.
coupName (string): Pre-translated efficiency coupling label (E01-E19).
momCode (int): Momentum code: 1 Accelerating, 2 Sharpening, 3 Steady, 4 Fading.
volName (string): Pre-translated volume scenario label (S1-S19).
score (float): Composite confluence score (-100..+100).
consensus (int): Trend-coherent consensus count (0..5).
bullScr (float): Jordan bull score (0..100).
bearScr (float): Jordan bear score (0..100, positive magnitude).
trace (float): Gram-matrix trace, total activation (0..5).
contDir (int): Continuation direction: 0 birth or indecision (no extra line), +1/-1 same-direction continuation.
domScr (float): Dominant score of this mark (continuation comparison).
prevScr (float): Dominant score of the previous same-direction mark.
lang (string): The dashboard language selected by the user.
Returns: The complete multi-line tooltip string.
f_rvTip(bull, rvClass, prevPeak, vel, score, lang)
Builds the reversal (REV) label tooltip for chart labels.
Parameters:
bull (bool): True for a bullish reversal, false for a bearish one.
rvClass (int): Classifier class: 1 Climactic, 2 Accumulation (bull) / Distribution (bear), 3 Exhaustion, 4 Rotation.
prevPeak (float): Peak |score| of the finished episode (depth feature).
vel (float): First-order score difference on the reversal bar (crossing velocity).
score (float): Composite pressure score on the reversal bar.
lang (string): The dashboard language selected by the user.
Returns: The complete multi-line tooltip string.
f_rtTip(bull, score, trendTh, bars, lang)
Builds the trend confirmation (TREND) label tooltip for chart labels.
Parameters:
bull (bool): True for a bullish trend confirmation, false for a bearish one.
score (float): Composite pressure score on the confirmation bar.
trendTh (float): Trend Confirmation Level (the user's RS_TREND_TH input).
bars (int): Bars elapsed since the reversal that opened the episode.
lang (string): The dashboard language selected by the user.
Returns: The complete multi-line tooltip string.
파인 라이브러리
트레이딩뷰의 진정한 정신에 따라, 작성자는 이 파인 코드를 오픈소스 라이브러리로 게시하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 경의를 표합니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈소스 게시물에서 사용할 수 있지만, 이 코드의 게시물 내 재사용은 하우스 룰에 따라 규제됩니다.
Measuring markets through Volume Dynamics & Geometric Frameworks.
For invite-only script access, DM on TradingView or via x.com/sabanci_ata
For invite-only script access, DM on TradingView or via x.com/sabanci_ata
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
파인 라이브러리
트레이딩뷰의 진정한 정신에 따라, 작성자는 이 파인 코드를 오픈소스 라이브러리로 게시하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 경의를 표합니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈소스 게시물에서 사용할 수 있지만, 이 코드의 게시물 내 재사용은 하우스 룰에 따라 규제됩니다.
Measuring markets through Volume Dynamics & Geometric Frameworks.
For invite-only script access, DM on TradingView or via x.com/sabanci_ata
For invite-only script access, DM on TradingView or via x.com/sabanci_ata
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.