// INPUTS:
src = input(close, title="Source")
len = input(90, title="Arnaud Legoux MA Length", type=input.integer, minval=1)
offset = input(0.85, title="ALMA Offset", type=input.float, minval=0.0001)
sigma = input(6, title="ALMA Sigma Value", type=input.integer, minval=1)
fa =...