API ReferenceFunctionsseriesOn this pageFunction: series() series(): Series Create a user series. Call at module top level (ids must be stable across bars); write it each bar with s[0] = value, then use it anywhere a Series is accepted. Bars you don't write read as na. Returns Series