Skip to content

Commit c05a73b

Browse files
committed
Buy 24: rework.
1 parent 4fd8b3b commit c05a73b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

NostalgiaForInfinityNext.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ class NostalgiaForInfinityNext(IStrategy):
710710
"sma200_1h_rising" : True,
711711
"sma200_1h_rising_val" : "36",
712712
"safe_dips" : True,
713-
"safe_dips_type" : "130",
713+
"safe_dips_type" : "20",
714714
"safe_pump" : False,
715715
"safe_pump_type" : "10",
716716
"safe_pump_period" : "24",
@@ -1446,9 +1446,7 @@ class NostalgiaForInfinityNext(IStrategy):
14461446
buy_23_r_1h = -80.0
14471447

14481448
buy_24_rsi_max = 50.0
1449-
buy_24_rsi_1h_min = 60.0
1450-
buy_24_crsi_1h = 53.0
1451-
buy_24_cti_1h = 0.38
1449+
buy_24_rsi_1h_min = 66.9
14521450

14531451
buy_25_ma_offset = 0.922
14541452
buy_25_rsi_4 = 38.0
@@ -3633,8 +3631,6 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
36333631
item_buy_logic.append(dataframe['cmf_1h'] > 0)
36343632
item_buy_logic.append(dataframe['rsi_14'] < self.buy_24_rsi_max)
36353633
item_buy_logic.append(dataframe['rsi_14_1h'] > self.buy_24_rsi_1h_min)
3636-
item_buy_logic.append(dataframe['crsi_1h'] > self.buy_24_crsi_1h)
3637-
item_buy_logic.append(dataframe['cti_1h'] > self.buy_24_cti_1h)
36383634

36393635
# Condition #25
36403636
elif index == 25:

0 commit comments

Comments
 (0)