PINE LIBRARY
Mis à jour

functionStringToMatrix

1647
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<string>, parsed string matrix.

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.