Provides functions for calculating risk metrics
Calculates what is the percentage drop from a reference price
start (float) : Starting price before the drop occurred
result (float) : Resulting price to which the percentage drop occurred
Returns: Percentage drop from "start" to "result"
This Library has one purpose only. It generate Symbols for the Crypto Spot Market, like all the currencies pairs of most Crypto Exchanges available to TradingView.
Have a look at .find() , which is an all in one function.
Generate 27 Symbols for the Spot Market of Binance.
This library helps creating and managing nice looking data (key/value) tooltips that you can use for
labels. The tooltips data key/value will align automatically. It is optional to convert the data to a values only string too.
Calculates the amount of spaces needed after the key to make it the key least 4...
The "Mizar_Library" is a powerful tool designed for Pine Script™ programmer’s, providing a collection of general functions that facilitate the usage of Mizar’s DCA (Dollar-Cost-Averaging) bot system.
To begin using the Mizar Library, you first need to import it into your indicator script. Insert the following line below your indicator initiation line: import...
You don't need to initialize anything..
After you import the library you can use .print() as easy as that..!
Hope this helps
* use a unique ID for each .print() call
let me know if you run into any bugs
by trying to make it as user friendly as possible i had to do
some not ideal things so there's a chance it could present some bugs with
a lot of labels...
Contains methods for conversion to string of int/float/bool/string/line/label/box and arrays and matrices thereof. Also contains a string wrapping function.
returns true if line/box/label are xloc.bar_time, false otherwise
Analogue of nz() but for strings. Returns "" is _s is na.
This webhook json message library provides convenient functions for building JSON messages
Used to manage automatic transaction orders and positions
Builds the final JSON payload from a WebhookMessage type.
Namespace types: WebhookMessage
Returns: A JSON...
A library of many helper methods, plus a comprehensive print method and a printer object.
This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
Markov algorithm is a string rewriting system that uses grammar-like rules to operate on strings of
symbols. Markov algorithms have been shown to be Turing-complete, which means that they are suitable as a
general model of computation and can represent any mathematical expression from its simple notation.
Extract a clean symbol from a composite ticker. E.g., (BINANCE:BTCUSD+KRAKEN:BTCUSD)/2 as input will return BTCUSD or BINANCE:BTCUSD
Extract the first symbol out of the supplied string (usually ticker.standard(syminfo.tickerid) )
Collection of string utilities that can be used to replace sub-strings in a string and string functions
that are not part of the standard library.
This a more simple replacement of my previous string_variables library since it uses types for better
performance due to data locality and methods that give a more intuitive API.
Library to transform numbers into Roman numerals / Super-Sub script / check if value is alpha or number
check to see if value is a number
input : (string/float/int) value to check
Returns: (na) if value is NOT a number and input (string/float/int) if value is a...
Some time to index and index to time helper methods made them for another library thought I would try to make
them as methods
UTC helper function this adds the + to the positive utc times, add "UTC" to the string
and can be used in the timezone arg of for format_time()
Now as library version :)
Performance optimization. Reduced memory consumption up to >90% by kicking the output to the "stdout".
Use marquee- or loader-effect on any possible string location.
Example: UI Price-Ticker