PINE LIBRARY
מעודכן SNIFOFF_51_Lang2

Library "SNIFOFF_51_Lang2"
Multilingual translation layer (Group 2) for Smart Trader, SNIF-OFF 5.1, Trade Finder.
Provides 21 exported functions with identical signatures to SNIFOFF_51_Lang.
Covers: 10 label functions, 3 narrative engines, 6 tooltip functions,
1 trend description, and 1 inline label function.
f_trSig(en, lang)
Translates trend engine signal labels.
Parameters:
en (string): The English signal label.
lang (string): The dashboard language selected by the user.
Returns: The translated signal label string.
f_trConv(en, lang)
Translates conviction level labels.
Parameters:
en (string): The English conviction label (HIGH, MODERATE, LOW).
lang (string): The dashboard language.
Returns: The translated conviction label.
f_trCoup(en, lang)
Translates efficiency coupling labels.
Parameters:
en (string): The English coupling label.
lang (string): The dashboard language.
Returns: The translated coupling label.
f_trMom(en, lang)
Translates efficiency momentum labels.
Parameters:
en (string): The English momentum label.
lang (string): The dashboard language.
Returns: The translated momentum label.
f_trVol(en, lang)
Translates volume scenario display labels.
Parameters:
en (string): The English scenario label.
lang (string): The dashboard language.
Returns: The translated scenario label.
f_trVolZone(zone, delta, lang)
Builds the directional arrow + intensity label for the volume zone cell.
Parameters:
zone (string): The volume zone classification.
delta (int): The delta direction integer.
lang (string): The dashboard language.
Returns: The composed volume zone display string.
f_trPocCons(count, lang)
Builds the volume center agreement label.
Parameters:
count (int): The number of agreeing scales (1-6).
lang (string): The dashboard language.
Returns: The composed POC consensus display string.
f_trTitle(en, lang)
Translates dashboard module header titles.
Parameters:
en (string): The English section title.
lang (string): The dashboard language.
Returns: The translated section title.
f_trBadge(en, lang)
Translates status badge labels.
Parameters:
en (string): The English badge label.
lang (string): The dashboard language.
Returns: The translated badge label.
f_trVolLabel(en, lang)
Translates volume data row cell labels.
Parameters:
en (string): The English label.
lang (string): The dashboard language.
Returns: The translated data row label.
f_trendNarrative(cas, casDir, div, smD, algn, mBias, mBiasDir, conv, lang)
Builds a human-readable trend situation summary.
Parameters:
cas (bool): Cascade active flag.
casDir (int): Cascade direction.
div (bool): Divergence active flag.
smD (int): Micro direction.
algn (int): Alignment score (-6 to +6).
mBias (bool): Macro bias active flag.
mBiasDir (int): Macro bias direction.
conv (string): Conviction label string.
lang (string): The dashboard language.
Returns: A 3-line narrative string.
f_effNarrative(rz, al, op, td, mom, lang)
Builds a human-readable efficiency situation summary.
Parameters:
rz (string): Rank zone string.
al (bool): Aligned flag.
op (bool): Opposed flag.
td (int): Trend direction.
mom (string): Momentum label string.
lang (string): The dashboard language.
Returns: A 2-line narrative string.
f_volNarrative(sid, td, pocCon, pocMidPrice, conv, mom, liveAlert, lang)
Builds a human-readable 3-line volume situation summary.
Parameters:
sid (string): Scenario ID (S1–S16).
td (int): Trend direction.
pocCon (int): Volume center consensus count.
pocMidPrice (float): Consensus center price.
conv (string): Conviction label.
mom (string): Efficiency momentum label.
liveAlert (bool): Explosive bar volume spike flag.
lang (string): The dashboard language.
Returns: A multi-line narrative string.
f_trTipDash(key, lang)
Returns translated tooltip text for dashboard-level cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipTrend(key, lang)
Returns translated tooltip text for Trend Engine cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipEff(key, lang)
Returns translated tooltip text for Efficiency module cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipVol(key, lang)
Returns translated tooltip text for Volume decomposition cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipFp(key, gs, lang)
Returns translated tooltip text for Volume Footprint cells.
Parameters:
key (string): Tooltip key identifier.
gs (string): Group size string. Pass "" for static keys.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipVi(key, lang)
Returns translated tooltip text for Volume Insight cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTrendDesc(cas, casDir, div, smD, algn, mBias, mBiasDir, lang)
Builds the trend state description with conviction suffix for the tooltip.
Parameters:
cas (bool): Cascade active flag.
casDir (int): Cascade direction.
div (bool): Divergence active flag.
smD (int): Micro direction.
algn (int): Alignment score (-6 to +6).
mBias (bool): Macro bias active flag.
mBiasDir (int): Macro bias direction.
lang (string): The dashboard language.
Returns: Complete tooltip string.
f_trInlineLabel(key, lang)
Returns translated inline labels for dashboard cell content.
Parameters:
key (string): Label key identifier.
lang (string): The dashboard language.
Returns: The translated label string.
Multilingual translation layer (Group 2) for Smart Trader, SNIF-OFF 5.1, Trade Finder.
Provides 21 exported functions with identical signatures to SNIFOFF_51_Lang.
Covers: 10 label functions, 3 narrative engines, 6 tooltip functions,
1 trend description, and 1 inline label function.
f_trSig(en, lang)
Translates trend engine signal labels.
Parameters:
en (string): The English signal label.
lang (string): The dashboard language selected by the user.
Returns: The translated signal label string.
f_trConv(en, lang)
Translates conviction level labels.
Parameters:
en (string): The English conviction label (HIGH, MODERATE, LOW).
lang (string): The dashboard language.
Returns: The translated conviction label.
f_trCoup(en, lang)
Translates efficiency coupling labels.
Parameters:
en (string): The English coupling label.
lang (string): The dashboard language.
Returns: The translated coupling label.
f_trMom(en, lang)
Translates efficiency momentum labels.
Parameters:
en (string): The English momentum label.
lang (string): The dashboard language.
Returns: The translated momentum label.
f_trVol(en, lang)
Translates volume scenario display labels.
Parameters:
en (string): The English scenario label.
lang (string): The dashboard language.
Returns: The translated scenario label.
f_trVolZone(zone, delta, lang)
Builds the directional arrow + intensity label for the volume zone cell.
Parameters:
zone (string): The volume zone classification.
delta (int): The delta direction integer.
lang (string): The dashboard language.
Returns: The composed volume zone display string.
f_trPocCons(count, lang)
Builds the volume center agreement label.
Parameters:
count (int): The number of agreeing scales (1-6).
lang (string): The dashboard language.
Returns: The composed POC consensus display string.
f_trTitle(en, lang)
Translates dashboard module header titles.
Parameters:
en (string): The English section title.
lang (string): The dashboard language.
Returns: The translated section title.
f_trBadge(en, lang)
Translates status badge labels.
Parameters:
en (string): The English badge label.
lang (string): The dashboard language.
Returns: The translated badge label.
f_trVolLabel(en, lang)
Translates volume data row cell labels.
Parameters:
en (string): The English label.
lang (string): The dashboard language.
Returns: The translated data row label.
f_trendNarrative(cas, casDir, div, smD, algn, mBias, mBiasDir, conv, lang)
Builds a human-readable trend situation summary.
Parameters:
cas (bool): Cascade active flag.
casDir (int): Cascade direction.
div (bool): Divergence active flag.
smD (int): Micro direction.
algn (int): Alignment score (-6 to +6).
mBias (bool): Macro bias active flag.
mBiasDir (int): Macro bias direction.
conv (string): Conviction label string.
lang (string): The dashboard language.
Returns: A 3-line narrative string.
f_effNarrative(rz, al, op, td, mom, lang)
Builds a human-readable efficiency situation summary.
Parameters:
rz (string): Rank zone string.
al (bool): Aligned flag.
op (bool): Opposed flag.
td (int): Trend direction.
mom (string): Momentum label string.
lang (string): The dashboard language.
Returns: A 2-line narrative string.
f_volNarrative(sid, td, pocCon, pocMidPrice, conv, mom, liveAlert, lang)
Builds a human-readable 3-line volume situation summary.
Parameters:
sid (string): Scenario ID (S1–S16).
td (int): Trend direction.
pocCon (int): Volume center consensus count.
pocMidPrice (float): Consensus center price.
conv (string): Conviction label.
mom (string): Efficiency momentum label.
liveAlert (bool): Explosive bar volume spike flag.
lang (string): The dashboard language.
Returns: A multi-line narrative string.
f_trTipDash(key, lang)
Returns translated tooltip text for dashboard-level cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipTrend(key, lang)
Returns translated tooltip text for Trend Engine cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipEff(key, lang)
Returns translated tooltip text for Efficiency module cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipVol(key, lang)
Returns translated tooltip text for Volume decomposition cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipFp(key, gs, lang)
Returns translated tooltip text for Volume Footprint cells.
Parameters:
key (string): Tooltip key identifier.
gs (string): Group size string. Pass "" for static keys.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTipVi(key, lang)
Returns translated tooltip text for Volume Insight cells.
Parameters:
key (string): Tooltip key identifier.
lang (string): The dashboard language.
Returns: The translated tooltip string.
f_trTrendDesc(cas, casDir, div, smD, algn, mBias, mBiasDir, lang)
Builds the trend state description with conviction suffix for the tooltip.
Parameters:
cas (bool): Cascade active flag.
casDir (int): Cascade direction.
div (bool): Divergence active flag.
smD (int): Micro direction.
algn (int): Alignment score (-6 to +6).
mBias (bool): Macro bias active flag.
mBiasDir (int): Macro bias direction.
lang (string): The dashboard language.
Returns: Complete tooltip string.
f_trInlineLabel(key, lang)
Returns translated inline labels for dashboard cell content.
Parameters:
key (string): Label key identifier.
lang (string): The dashboard language.
Returns: The translated label string.
הערות שחרור
v2הערות שחרור
v3ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
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
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
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
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.