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

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。


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

免責聲明