We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d951a commit 63e252aCopy full SHA for 63e252a
AlgoForMedium.py
@@ -77,7 +77,7 @@ def getSpecificAccount(cur):
77
78
for ii in range(0,13):
79
ROC11[ii] = (100*(price[ii]-price[ii+11]) / float(price[ii+11]))
80
- ROC14[ii] = (100*(price[ii]price[ii+14]) / float(price[ii+14]))
+ ROC14[ii] = (100*(price[ii]-price[ii+14]) / float(price[ii+14]))
81
ROCSUM[ii] = ( ROC11[ii] + ROC14[ii] )
82
83
# Calculate the past 4 Coppock values with Weighted Moving Average
0 commit comments