Pine Script na(): Missing Values, Fallbacks and Valid Signals
na represents an unavailable value; na(value) checks for it. Missing numeric data usually propagates through arithmetic rather than crashing a script. A guard should express what the calculation needs, not replace every missing observation with an invented zero.







