Library "font" Unicode Characters Replacement function for strings. uni(_str, _number) Unicode Font Substitutee Parameters: _str : Input Strinbg _number : Font by Int input uni(_str, _number) Unicode Font Substitutee Parameters: _str : Input Strinbg _number : Font by Name input
A library that exposes a method to translate strings to numbers. Adapted from MichelT 's String to Number indicator.
Library "inChart" determine if price value is between chart high + x% and low - x% on the visible chart. inChart()
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...
Library "PineHelper" This library provides various functions to reduce your time. recent_opentrade_entry_bar_index() get a recent opentrade entry bar_index Returns: (int) bar_index recent_closedtrade_entry_bar_index() get a recent closedtrade entry bar_index Returns: (int) bar_index recent_closedtrade_exit_bar_index() get a recent closedtrade...
Library "Hex" Hex String Utility intToHex(_n) helper Binary half octet to hex character Parameters: _n : Digits to convert fromDigits(_input, _buffer) Digits to Hex String output Parameters: _input : Integer Input _buffer : Number of 0's to pad Hex with Returns: string output hex character value buffered to desired length (00-ff default)
Library "MiteTricks" Matrix Global Registry. Get, Set, automatic growing, universal get/set, multi-matrix dictionaries, multi-dictionary matrixes.. add slice matrixes of any type, share one common global key registry pull up an item from a category, and item name ie a table of info. same cell needs a color, a size, a string, a value, etc.. all of which can be...
Library "threengine_global_automation_library" A collection of functions used for trade automation getBaseCurrency() Gets the base currency for the chart's ticker. Supported trade pairs are USD, USDT, USDC, BTC, and PERP. Returns: Base currency as a string getChartSymbol() Get the current chart's symbol without the base currency appended to it....
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive TupleSwitchHL() : Tuple Switch for High Low Parameters: : : _bool, low_X, high_X, low_A, high_A, low_B, high_B, low_C, high_C Returns: : price_X, price_A, price_B, price_C TupleSwitchStyleColor() : Tuple switch for style and color Parameters: :...
Library "srcCalc" Provides functions for converting input strings 'open','high','low','close','hl2','hlc3','ohlc4','hlcc4' to corresponding source values. get_src(src) Converts string to source float value Parameters: src : String to use (`close` is used if no argument is supplied). Returns: Returns the float value of the string
Library "CommonMarkup" Provides functions for chart markup, such as indicating recession bands. markRecessionBands(showBands, lineY, labelY) Mark vertical bands and show recession band labels if argument showBands is true. Example "markRecessionBands(bar_index ,3.0" Parameters: showBands : - show vertical recession bands when true. Functionally...
Hash map's in Pinescript?? Absolutely This Library is the first step towards bringing a much needed data structure to the Pine Script community. "Object" allows Pine coders to finally create objects full or unique key:value pairs, which are converted to strings and stored in an array. Data can be stored and accessed using dedicated get and set methods. The...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive PriceDiff() : Price Difference Parameters: : : price_1, price_2 Returns: : PriceDiff TimeDiff() : Time Difference Parameters: : : time_1, time_2 Returns: : TimeDiff ReturnIndexOf3Arrays() : Return Index Of 3 Arrays Parameters: : :...
Library "swap" Side / Boundary Based All Types Swapper - three automagical types for Arrays, Matrixes, and Variables -- no signal : Long/ Short position autoswap -- true / false : Boolean based side choice -- Src / Thresh : if source is above or below the threshold - two operating modes for variables, Holding mode only for arrays/matrixes -- with two ...
Library "TradingHook" This library is a client script for making a webhook signal formatted string to TradingHook webhook server. buy_message(password, amount, order_name) Make a buy Message for TradingHook. Parameters: password : (string) password that you set in .env file. amount : (float) amount. If not set, your strategy qty will be...
Library "SizeAndPlace" size and location shortcuts posYtoInt(string) posYtoInt as titled.. Parameters: string : _inp posXtoInt(string) posXtoInt as titled.. Parameters: string : _inp sizeToInt(string) sizeToInt as titled.. Parameters: string : size sizeToString(int) sizeToString as titled.. Parameters: int : size ...
█ OVERVIEW This library is a Pine Script™ programmer’s tool containing a variety of time related functions to calculate or measure time, or format time into string variables. █ CONCEPTS `formattedTime()`, `formattedDate()` and `formattedDay()` Pine Script™, like many other programming languages, uses timestamps in UNIX format, expressed as the...
Library "json" Convert JSON strings to tradingview ▦ FEATURES ▦ █ Json to array █ Get json key names █ Get json key values █ Size of json get_json_keys_names(raw_json) Returns string array with all key names Parameters: raw_json : (string) Raw JSON string Returns: (string array) Array with all...