PureBytes Links
Trading Reference Links
|
Hello,
Does anyone have any true code for the Coppock Curve? There was
something posted some years back but was not the correct formula. This
is CTA Steve Karnish's MetaStock interpretation:
(ROC(CLOSE,14,percent )*10 + ROC(CLOSE,11,percent)*10 +
ROC(Ref(CLOSE,-1),14,percent)*9 +
ROC(Ref(CLOSE,-1),11,percent)*9 + ROC(Ref(CLOSE,-2),14,percent)*8 +
ROC(Ref(CLOSE,-2),11,percent)*8 + ROC(Ref(CLOSE,-3),14,percent)*7 +
ROC(Ref(CLOSE,-3),11,percent)*7 + ROC(Ref(CLOSE,-4),14,percent)*6 +
ROC(Ref(CLOSE,-4),11,percent)*6 + ROC(Ref(CLOSE,-5),14,percent)*5 +
ROC(Ref(CLOSE,-5),11,percent)*5 + ROC(Ref(CLOSE,-6),14,percent)*4 +
ROC(Ref(CLOSE,-6),11,percent)*4 + ROC(Ref(CLOSE,-7),14,percent)*3 +
ROC(Ref(CLOSE,-7),11,percent)*3 + ROC(Ref(CLOSE,-8),14,percent)*2 +
ROC(Ref(CLOSE,-8),11,percent)*2 + ROC(Ref(CLOSE,-9),14,percent) +
ROC(Ref(CLOSE,-9),11,percent))/2
Thanks in advance.
|