Provides unbound methods (no error checking) to parse a string into a float or int matrix.
to_matrix_float(str, interval_sep, start_tk, end_tk)
Parse a string into a float matrix.
str : , string, the formated string to parse.
interval_sep : , string, cell interval separator token.
start_tk : ,...
Converts decimal to and from binary.
to_binary(number) convert integer to binary string
number : int, value to convert.
to_decimal(binary) Converts a binary in a string to decimal.
binary : string, binary number in a string.
Functions to extend Arrays.
index_2d_to_1d(dimension_x, dimension_y, index_x, index_y) returns the flatened one dimension index of a two dimension array.
dimension_x : int, dimension of X.
dimension_y : int, dimension of Y.
index_x : int, index of X.
index_y : int, index of Y.
Returns: int, index in 1...
A calculator that gives you the amount of a coin that is equal to the inputted value.
Options to configure are the ticker, amount in USD that will be converted, and how many digits you would want to be shown after the decimal point.
Currently, this only supports USD quote currencies. Ideally in the future, the code will be rewritten. Maybe.
This is a small tool for automatic currency conversion for dual listed stocks that trade in different currencies, i.e. Biontec: BNTX (USD) / 22UA (EUR).
- The label shows the converted price and the underlying's currency.
- Base currency is set to EUR.
- Automatically detects the underlying currency via syminfo.currency and converts it.
This script was designed to make the conversion in price of the currency pair BRL/USD traded at CME to the currency pair USD/BRL traded at B3.
Use this indicator with CME's 6L series chart.
This indicator gives you 3 values:
1. The Max Price of the candle;
2. The Min Price of the candle;
3. The 21 days simple volatility of the USD/BRL traded at B3 (you choose...