PINE LIBRARY

DiscordLibrary

Library "DiscordLibrary"

BoldString()
  Bold String in Discord Function

ItalicizeString()
  Italicize String in Discord Function

StrikeThroughString()
  Strikethrough a String in Discord Function

UnderlineString()
  Underline a String in Discord Function

SpoilerString()
  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

HighlightString()
  Highlight String Function

BoxedString()
  Put String in a Box Function

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

InvisibleString()
  Send Inivisible Text

FormatTimePeriodForDiscord()

GetDiscordEmbedJSON()
  Generate discord embed JSON

GetDiscordTextJSON()
  Formats Content Only JSON Message

Truncate()
  Custom function to truncate (cut) excess decimal places

FormatDiscordMessage()
  format Content message

FormatCoin()
  Format Ticker Symbol
displayformattingstrings

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


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

Disclaimer