faiyaz7283

multidata

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.

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

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.

Want to use this library?

Copy the following line and paste it in your script.