Local non-scalar UDT typed-na history diagnostic
Category: market_structure
A diagnostic test script for Pine Script v6 to verify the handling of historical values and dynamic offsets for non-scalar User Defined Types (UDTs).
Formula
\text{check}(x[t]) = \begin{cases} 1 & \text{if } x_t \text{ is na} \\ 0 & \text{otherwise} \end{cases} \text{ where } x \in \{\text{UDT instance, fields, UDF outputs}\}
See signal primitives and every published strategy that uses Local non-scalar UDT typed-na history diagnostic on WOBR StrategyVerse.