PINE LIBRARY
Aggiornato functionStringToMatrix

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.
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.
Note di rilascio
v2 fixed a lill'bug..Note di rilascio
v3Added:
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.
Libreria Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Declinazione di responsabilità
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Libreria Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Declinazione di responsabilità
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.