Library "store" Object/Property Storage System Semi-Simplified. . It's a helpful toolset while designing UDT's as it remains flexible, this helps in not having to remap an entire script while tinkering. Set an object up, and add as man properties as yyou wish. a property can be one of any pine built in types. so a single object can contain sa, ohlc each...
▮ FEATURES Now as library version :) String-based transition-effects Performance optimization. Reduced memory consumption up to >90% by kicking the output to the "stdout". Use marquee- or loader-effect on any possible string location. Example: UI Price-Ticker ---------------------------------------------------------------------------- Library ...
Hash map's in Pinescript?? Absolutely This Library is the first step towards bringing a much needed data structure to the Pine Script community. "Object" allows Pine coders to finally create objects full or unique key:value pairs, which are converted to strings and stored in an array. Data can be stored and accessed using dedicated get and set methods. The...
Library "ObjectStack" init() push() push() push() push() push() nextIndex() nextIndex() nextIndex() nextIndex() nextIndex() delete() delete() delete() delete() delete() cleanOldest() cleanOldest() cleanOldest() cleanOldest() cleanOldest()
This Library is aimed to mitigate the limitation of Pinescript having only one structured data type which is only arrays. It lacks data types like Dictionaries(in Python) or Object (in JS) that are standard for other languages. Tuples do exist, but it hardly solves any problem. Working only with Arrays could be overwhelming if your codebase is large. I looked for...