E5Trading

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

E5 Trading
Trade with a market edge!
Access indicators: www.e5trading.com
Socials: www.bio.site/e5trading
Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.