f4r33x

fast_utils

f4r33x Zaktualizowano   
Library "fast_utils"
This library contains my favourite functions. Will be updated frequently

count_int_digits()
  Count int digits in number
  Returns: : number of int digits in number

count_float_digits()
  Count float digits in number
  Returns: : number of float digits in number

stringify()
  Convert values in array or matrix into string values
  Returns: : array or matrix of string values

arrcompare()
  Compare values in arrays
  Returns: : bool value

arrdedup()
  Remove duplicate values in array
  Returns: : array without duplicates

ResInMins()
  Converts current resolution in minutes
  Returns: : return float number of minuted

MultOfRes(res, mult)
  Convert current float TF in minutes to target string TF in "timeframe.period" format.
  Parameters:
    res: : current resolution in minutes
    mult: : Multiple of current TF to be calculated.
  Returns: : timeframe format string
Informacje o Wersji:
v2 remove bug in stringify
Informacje o Wersji:
v3

Updated:
resource()
Informacje o Wersji:
v4 small update ro resource fuction (now supports history referencing)
Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.