TermInfo: IMsFormulaTermInfo;
The TermInfo property returns term parameters.
This example describes custom method. The data series is passed by points.
Public Function UserFunc(Input: ITimeSeries): Double;
Begin
If Input.TermInfo.Lag = "0"
Then Return Math.Log10(Input.CurrentValue);
Else Return Double.Nan
End If;
End Function UserFunc;
The method returns the natural series logarithm if its lag is equal to zero.
See also: