ryanlangdon
You can easily do that with the builtinADXDM.efs that is in the Builtin folder.
Just above the return statement add the following line var vADXR = (vADX.getValue(ADXDMStudy.ADX) + vADX.getValue(ADXDMStudy.ADX,-14)) / 2;
Then replace all of the return statement with return vADXR;
Alex
Comment