RicardoSantos

functionStringToMatrix

RicardoSantos Wizard Mis à jour   
Library "functionStringToMatrix"
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.
  Parameters:
    str: , string, the formated string to parse.
    interval_sep: , string, cell interval separator token.
    start_tk: , string, row start token.
    end_tk: , string, row end token.
  Returns: matrix<float>, parsed float matrix.

to_matrix_int(str, interval_sep, start_tk, end_tk)
  Parse a string into a int matrix.
  Parameters:
    str: , string, the formated string to parse.
    interval_sep: , string, cell interval separator token.
    start_tk: , string, row start token.
    end_tk: , string, row end token.
  Returns: matrix<int>, parsed int matrix.
Notes de version:
v2 fixed a lill'bug..
Notes de version:
v3

Added:
to_matrix_string(str, interval_sep, start_tk, end_tk)
  Parse a string into a string matrix.
  Parameters:
    str: , string, the formated string to parse.
    interval_sep: , string, cell interval separator token.
    start_tk: , string, row start token.
    end_tk: , string, row end token.
  Returns: matrix, parsed string matrix.
Bibliothèque Pine

Dans le véritable esprit de TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur ! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open-source, mais la réutilisation de ce code dans une publication est régie par notre Règlement.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser cette bibliothèque?

Copiez le texte dans le presse-papiers et collez-le dans votre script.