RSy
One way of doing it is to copy the contents of the builtinCCI.efs into the LinReg.efs that you should have in the LinReg folder.
Then in the LinReg script instead of having the Linear Regression use the close() simply use the vCCI.getValue(CCIStudy.CCI).
Alex
RSy
The attached efs should do what you asked.
I did not use the woodies LSMA but the LinReg.efs (available in the LinReg folder) which returns the same values.
All parameters for the CCI and Length of the Linear Regression can be modified through Edit Studies
Alex
RSy
FWIW the LinReg.efs that is in the LinReg folder gives the same returns as the woodies lsma.efs that you posted so using that one makes no difference.
Can you post an image that you know is of a correct LSMA of CCI or let me know how you can determine that.
Alex
Comment