Array Sort Unsupported Order Test

Category: market_structure

A test fixture demonstrating Pine Script array sorting functionality; specifically used to validate error handling for unsupported sort orders.

Formula

\text{sort}(\{2, 1\}, \text{"sideways"}) \rightarrow \text{Returns first element after sort attempt}

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


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