Mode of String Array (Compatibility Test)

Category: market_structure

Calculates the most frequently occurring string value (Mode) within a string array. Note: This specific script is a test fixture for Pine Script runtime compatibility.

Formula

\text{mode}(\text{values}) \rightarrow \text{element with highest frequency in set } S

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home