PINE LIBRARY

DiscordLibrary

Library "DiscordLibrary"

BoldString(str)
  Bold String in Discord Function
  Parameters:
    str

ItalicizeString(str)
  Italicize String in Discord Function
  Parameters:
    str

StrikeThroughString(str)
  Strikethrough a String in Discord Function
  Parameters:
    str

UnderlineString(str)
  Underline a String in Discord Function
  Parameters:
    str

SpoilerString(str)
  When you send the text, it will be shown as a black block, and only by clicking on it will you be able to see what is written below, in a way, unveiling the text or giving spoilers
  Parameters:
    str

HighlightString(str)
  Highlight String Function
  Parameters:
    str

BoxedString(str)
  Put String in a Box Function
  Parameters:
    str

NonEmbeddedURLString(str)
  Format URL String so that it is not an embedded Image but just the Link
  Parameters:
    str

InvisibleString(str)
  Send Inivisible Text
  Parameters:
    str

FormatTimePeriodForDiscord(_timeperiod)
  Parameters:
    _timeperiod

GetDiscordEmbedJSON(_message, _avatarURL, _botName, _role, _color, _embed_title, _embed_subtitle, _title, _url, _icon_url, _icon2_url, _footer, _description)
  Generate discord embed JSON
  Parameters:
    _message
    _avatarURL
    _botName
    _role
    _color
    _embed_title
    _embed_subtitle
    _title
    _url
    _icon_url
    _icon2_url
    _footer
    _description

GetDiscordTextJSON(_description)
  Formats Content Only JSON Message
  Parameters:
    _description

Truncate(_number, _decimalPlaces)
  Custom function to truncate (cut) excess decimal places
  Parameters:
    _number
    _decimalPlaces

FormatDiscordMessage(_textmessage, _ticker, _timeframe)
  format Content message
  Parameters:
    _textmessage
    _ticker
    _timeframe

FormatCoin(_coinText)
  Format Ticker Symbol
  Parameters:
    _coinText
formatting

Bibliothèque Pine

Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans une publication est régie par nos Règles.


E5 Trading
Trade with a market edge!
Access indicators: e5trading.com
Socials: bio.site/e5trading
Aussi sur:

Clause de non-responsabilité