Custom Indicator
Pro feature. Scripts run locally in your browser and are saved to your account
when settings sync is available. Return one numeric value per candle using
data, index, and candles.
Custom indicators are a Pro feature.
Use
data.close, data.high, data.low, data.volume.
Return null during warm-up bars.