We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63e252a commit a4af64fCopy full SHA for a4af64f
AlgoForMedium.py
@@ -81,6 +81,7 @@ def getSpecificAccount(cur):
81
ROCSUM[ii] = ( ROC11[ii] + ROC14[ii] )
82
83
# Calculate the past 4 Coppock values with Weighted Moving Average
84
+ coppock = np.zeros(4)
85
for ll in range(0,4):
86
coppock[ll] = (((1*ROCSUM[ll+9]) + (2*ROCSUM[ll+8]) + (3*ROCSUM[ll+7]) \
87
+ (4*ROCSUM[ll+6]) + (5*ROCSUM[ll+5]) + (6*ROCSUM[ll+4]) \
0 commit comments