Skip to content

Commit a4af64f

Browse files
authored
typo
1 parent 63e252a commit a4af64f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AlgoForMedium.py

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def getSpecificAccount(cur):
8181
ROCSUM[ii] = ( ROC11[ii] + ROC14[ii] )
8282

8383
# Calculate the past 4 Coppock values with Weighted Moving Average
84+
coppock = np.zeros(4)
8485
for ll in range(0,4):
8586
coppock[ll] = (((1*ROCSUM[ll+9]) + (2*ROCSUM[ll+8]) + (3*ROCSUM[ll+7]) \
8687
+ (4*ROCSUM[ll+6]) + (5*ROCSUM[ll+5]) + (6*ROCSUM[ll+4]) \

0 commit comments

Comments
 (0)