PINE LIBRARY
已更新

pson

860
PineScript Object Notation

A workaround not having objects in pinescript.
This is a Json-look-alike interpreter.
Format: "attr=value:attr1=value1:attr2=value2".

You can add new attributes, get the value in those attributes, set new values to existing attributes and check if an attribute exists.
版本注释
v2 - now you can have psons inside psons

Added:
get_itterable()

Updated:
set()

get()
版本注释
fixing typo
版本注释
v4 - fixed issue with the add() function
版本注释
v5 - added get_values() get_int() get_bool()
版本注释
v6 added set_values()
版本注释
v7 added remove()

免责声明

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.