PINE LIBRARY

multidata

By faiyaz7283
Updated
Library "multidata"
A library for multi-dimensional data arrays.

Full documentation: http://faiyaz7283.github.io/multidata

This library is designed to enhance data storage capabilities in Pine Script, enabling users to work with two separate data structures: data2d (key -> main-value | alternate-value) and data3d (primary key -> data key-> main-value | alternate-value). These structures facilitate storing key-value pairs in a flexible and efficient manner, offering various methods for manipulation and retrieval of data. Please check out the full documentation at http://faiyaz7283.github.io/multidata.
Release Notes
v2 - Added: Support for printing data2d and data3d objects directly on chart. Extending the tools library's print() method.
Release Notes
v3 - Bugfix: format() method throwing object 'na' error. FIXED.
Release Notes
v4 - import update
Release Notes
v5 - Updated the imported libraries.
Release Notes
v6 - Major refactoring.

- Removed: All push, set and remove functionalities.
- Updated: All comparison are calculated and stored directly in object.
- Updated: Extended Print methods refactored completely for more advance printing.
- Bug fixes: Few bug fixes.
Release Notes
v7 - Replaced key() method with getKeys(). Pine Script was complaining for some reason due to name clashing with built-in keys() function.
Release Notes
v8 - printer library version update
Release Notes
v9 - Updated printer library.
Release Notes
v10 - Bug fixes - change percentage issue, plus some minor fix for formatting.
Release Notes
v11 - Printer library version update.
Release Notes
v12 - Updated: Library 'printer' to version 10
2-dimensional3-dimensionalarraysDATAdata2ddata3ddata-storagemultidimensional-arraynested-arraystorage
faiyaz7283
Faiyaz Haider

Pine library

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 a publication is governed by House rules.

Disclaimer