Here are a few useful expressions that I've collected from various sources, they all work with Siril:
Narrowband Luminance = (Ha^2 + Oiii^2 + Sii^2)/(Ha + Oiii + Sii)
RGB Luminance = (R^2 + G^2 + B^2)/(R + G + B)
====================================
SHO Foraxx Palette
R = (Oiii^~Oiii)*Sii + ~(Oiii^~Oiii)*Ha
G = ((Oiii*Ha)^~(Oiii*Ha))*Ha + ~((Oiii*Ha)^~(Oiii*Ha))*Oiii
B = Oiii
====================================
HOO Foraxx Palette
R = Ha
G = ((Oiii*Ha)^~(Oiii*Ha))*Ha + ~((Oiii*Ha)^~(Oiii*Ha))*Oiii
B = Oiii
https://thecoldestnights.com/2020/06/pixinsight-dynamic-narrowband-combinations-with-pixelmath/====================================
Synthetic RGB from Narrowband
R = 0.5*Ha + 0.5*Sii
G = 0.5*Oiii + 0.094*Ha
B = 0.295*Oiii + 0.1*Ha
https://www.cloudynights.com/topic/661929-a-fresh-take-on-synthetic-rgb-from-narrowband/===================================
Extract Ha & Oiii from Optolong L-eXtreme
Ha = R
Oiii = (2*G+B)/3
==================================
Ha Continuum Subtraction
Ha - f * (R- med(R))
f = 0.13 approx