PINE LIBRARY
Mis à jour

font

2 231
Library "font"
Unicode Characters Replacement function for strings.

uni(_str, _number)
  Unicode Font Substitutee
  Parameters:
    _str: Input Strinbg
    _number: Font by Int input

uni(_str, _number)
  Unicode Font Substitutee
  Parameters:
    _str: Input Strinbg
    _number: Font by Name input
Notes de version
v2
added:

Pine Script®
// string names for easy scripting varip _Sans = "Sans" varip _Sans_Italic = "Sans Italic" varip _Sans_Bold = "Sans Bold" varip _Sans_Bold_Italic = "Sans Bold Italic" varip _Sans_Serif = "Sans-Serif" varip _Sans_Serif_Italic = "Sans-Serif Italic" varip _Sans_Serif_Bold = "Sans-Serif Bold" varip _Sans_Serif_Bold_Italic = "Sans-Serif Bold Italic" varip _Fraktur = "Fraktur" varip _Fraktur_Bold = "Fraktur Bold" varip _Script = "Script" varip _Script_Bold = "Script Bold" varip _Double_Struck = "Double-Struck" varip _Monospace = "Monospace" varip _Regional_Indicator = "Regional Indicator" varip _Small = "Small" varip _Full_Width = "Full Width" varip _Circled = "Circled" // by number _string = font.uni(' your string input', 1) // by name _string = font.uni(' your string input', _Sans)

Notes de version
v3

Update, slightly faster overall and fewer local scopes created for large scripts, fixed typo on //param for string input
Notes de version
v4
Now with Whitespace chars for a shortcut for those who use.
sorted largest at top to smallest.
any errors default to thin space.

int or string inputs.

Added:
space(_type)
  Hidden WhiteSpace Characterrs
  Parameters:
    _type: (string) WhiteSpace Type
  Returns: String Whitespace
Notes de version
v5

Added:
indent(_size)
  Indenter
  Parameters:
    _size: (intt) Number of tabs
  Returns: String of N number tabs

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.