init
This commit is contained in:
@@ -613,6 +613,9 @@ class Common:
|
||||
buy_type = "rsi"
|
||||
check = True
|
||||
|
||||
if not(stock['rsi'][1] < stock['rsi'][0] and stock['rsis'][0] < stock['rsi'][0]):
|
||||
check = False
|
||||
|
||||
return check
|
||||
|
||||
def buy_stock_candidate(self, param, stock):
|
||||
@@ -622,8 +625,7 @@ class Common:
|
||||
|
||||
if not (stock['avg60'][1] < stock['avg20'][1] and stock['avg5'][1]) and (stock['avg60'][0] < stock['avg20'][0] and stock['avg5'][0]):
|
||||
if stock['upper'][0] < stock['avg5'][0]:
|
||||
if stock['rsi'][1] < stock['rsi'][0] and stock['rsis'][0] < stock['rsi'][0]:
|
||||
check = True
|
||||
check = True
|
||||
|
||||
return check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user