@@ -381,18 +381,18 @@ class NostalgiaForInfinityNext(IStrategy):
381381 "btc_1h_not_downtrend" : False
382382 },
383383 8 : {
384- "ema_fast" : True ,
384+ "ema_fast" : False ,
385385 "ema_fast_len" : "12" ,
386386 "ema_slow" : True ,
387387 "ema_slow_len" : "12" ,
388388 "close_above_ema_fast" : True ,
389389 "close_above_ema_fast_len" : "200" ,
390390 "close_above_ema_slow" : False ,
391391 "close_above_ema_slow_len" : "200" ,
392- "sma200_rising" : True ,
392+ "sma200_rising" : False ,
393393 "sma200_rising_val" : "36" ,
394- "sma200_1h_rising" : False ,
395- "sma200_1h_rising_val" : "50 " ,
394+ "sma200_1h_rising" : True ,
395+ "sma200_1h_rising_val" : "20 " ,
396396 "safe_dips" : True ,
397397 "safe_dips_type" : "130" ,
398398 "safe_pump" : True ,
@@ -1430,13 +1430,14 @@ class NostalgiaForInfinityNext(IStrategy):
14301430 buy_7_cmf_1h = - 0.16
14311431
14321432 buy_8_cti = - 0.88
1433- buy_8_rsi = 40.0
1434- buy_8_bb_offset = 0.995
1435- buy_8_rsi_1h = 64.0
1433+ buy_8_bb_offset = 0.998
14361434 buy_8_volume = 1.8
14371435 buy_8_r_480 = - 45.0
1438- buy_8_cti_1h = 0.8
1439- buy_8_r_480_1h = - 55.0
1436+ buy_8_cti_1h = 0.95
1437+ buy_8_r_480_1h_min = - 75.0
1438+ buy_8_r_480_1h_max = - 20.0
1439+ buy_8_cmf_min = - 0.4
1440+ buy_8_cmf_max = - 0.18
14401441
14411442 buy_ma_offset_9 = 0.968
14421443 buy_bb_offset_9 = 0.942
@@ -4065,7 +4066,10 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
40654066 item_buy_logic .append (dataframe ['volume' ] < (dataframe ['volume_mean_4' ] * self .buy_8_volume ))
40664067 item_buy_logic .append (dataframe ['r_480' ] < self .buy_8_r_480 )
40674068 item_buy_logic .append (dataframe ['cti_1h' ] < self .buy_8_cti_1h )
4068- item_buy_logic .append (dataframe ['r_480_1h' ] > self .buy_8_r_480_1h )
4069+ item_buy_logic .append (dataframe ['r_480_1h' ] > self .buy_8_r_480_1h_min )
4070+ item_buy_logic .append (dataframe ['r_480_1h' ] < self .buy_8_r_480_1h_max )
4071+ item_buy_logic .append (dataframe ['cmf' ] > self .buy_8_cmf_min )
4072+ item_buy_logic .append (dataframe ['cmf' ] < self .buy_8_cmf_max )
40694073
40704074 # Condition #9
40714075 elif index == 9 :
0 commit comments