init
This commit is contained in:
@@ -575,9 +575,10 @@ class Common:
|
||||
def check_optimal_buy_timeing(self, stock):
|
||||
|
||||
if stock['avg120'][0] < stock['avg60'][0] < stock['avg20'][0] < stock['avg5'][0]:
|
||||
if stock['avg240'][0] < stock['avg20'][0] < stock['avg5'][0]:
|
||||
if stock['rsi'][0] < 70:
|
||||
return True
|
||||
if stock['avg20'][1] < stock['avg20'][0] and stock['avg5'][1] < stock['avg5'][0]:
|
||||
if stock['avg240'][0] < stock['avg20'][0] < stock['avg5'][0]:
|
||||
if stock['rsi'][0] < 70:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user