PINE LIBRARY

ArrayMultipleDimensionPrototype

Library "ArrayMultipleDimensionPrototype"
A prototype library for Multiple Dimensional array methods

index_md_to_1d()

new_float(dimensions, initial_size) Creates a variable size multiple dimension array.
  Parameters:
    dimensions: int array, dimensions of array.
    initial_size: float, default=na, initial value of the array.
  Returns: float array

dimensions(id, value) set value of a element in a multiple dimensions array.
  Parameters:
    id: float array, multiple dimensions array.
    value: float, new value.
  Returns: float.

get(id) get value of a multiple dimensions array.
  Parameters:
    id: float array, multiple dimensions array.
  Returns: float.

set(id) set value of a element in a multiple dimensions array.
  Parameters:
    id: float array, multiple dimensions array.
  Returns: float.
arraysdimensionmatrixmultiple

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明