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
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.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.