Skip to content
Algo Trade Analytics Docs

matrix.is_stochastic() - Pine Script Function

The function determines if the matrix is stochastic.

matrix.is_stochastic(id) → series bool
NameTypeDescription
idmatrix<int/float>Matrix object to test.

Returns true if the id matrix is stochastic, false otherwise.