init
This commit is contained in:
@@ -420,6 +420,13 @@ class Common:
|
||||
return "STOCHASTIC#2_"
|
||||
return ""
|
||||
|
||||
def check_Dolpa(self, stock, i, avg1, avg2):
|
||||
upper_index = 0
|
||||
if len(stock) > 2:
|
||||
if stock[i-1]["avg"+avg1] < stock[i-1]["avg"+avg2] and stock[i]["avg"+avg1] > stock[i]["avg"+avg2]:
|
||||
return avg1+"_"+avg2+"_"
|
||||
return ""
|
||||
|
||||
def check_Dolpa_Jiji(self, stock, i, day='20'):
|
||||
upper_index = 0
|
||||
if len(stock) > 5:
|
||||
|
||||
Reference in New Issue
Block a user