dboichenko

map_custom_value_full

Library "map_custom_value_full"
makes it possible to create:
1.map with array value:
    for this purpose need:
    1.create map with arrays type value
    2.put your array in this map, overloaded put method itself will put the array based on the type into the required field
    3.next you can get this array with help standard get function, by specifying the type field of your array
2.map with map value:
    for this purpose need:
    1.create map with maps type value
    2.put your other map in how value in your based map, need you need to put it in the field corresponding to your map type
    3.next you can get this map with help standard get function, by specifying the type field of your array
3.maps with value in array with maps:
    for this purpose need:
    1.create map with arrays type value
    2.put as value maps_arrays fild with array from maps_arrays type fild which should already contain map of the type you need (there are not all map type fields here you can add a map of the required type by adding a corresponding field of map_arrays type.)
    3.next you can get this array from map with help standard get function, by specifying the type field of your array
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.