@@ -107,7 +107,7 @@ class NostalgiaForInfinityX(IStrategy):
107107 INTERFACE_VERSION = 2
108108
109109 def version(self) -> str:
110- return "v10.8.152 "
110+ return "v10.8.153 "
111111
112112 # ROI table:
113113 minimal_roi = {
@@ -354,9 +354,9 @@ def version(self) -> str:
354354 "close_above_ema_slow_len" : "200",
355355 "sma200_rising" : False,
356356 "sma200_rising_val" : "28",
357- "sma200_1h_rising" : False ,
357+ "sma200_1h_rising" : True ,
358358 "sma200_1h_rising_val" : "50",
359- "safe_dips_threshold_0" : 0.012 ,
359+ "safe_dips_threshold_0" : 0.032 ,
360360 "safe_dips_threshold_2" : 0.09,
361361 "safe_dips_threshold_12" : 0.54,
362362 "safe_dips_threshold_144" : 0.9,
@@ -366,10 +366,10 @@ def version(self) -> str:
366366 "safe_pump_36h_threshold" : 0.7,
367367 "safe_pump_48h_threshold" : None,
368368 "btc_1h_not_downtrend" : False,
369- "close_over_pivot_type" : "sup3 ", # pivot, sup1, sup2, sup3, res1, res2, res3
370- "close_over_pivot_offset" : 0.95 ,
369+ "close_over_pivot_type" : "none ", # pivot, sup1, sup2, sup3, res1, res2, res3
370+ "close_over_pivot_offset" : 1.0 ,
371371 "close_under_pivot_type" : "none", # pivot, sup1, sup2, sup3, res1, res2, res3
372- "close_under_pivot_offset" : 1.4
372+ "close_under_pivot_offset" : 1.0
373373 },
374374 5: {
375375 "ema_fast" : False,
@@ -8613,15 +8613,16 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
86138613 # Condition #4 - Semi swing. Local dip.
86148614 elif index == 4:
86158615 # Non-Standard protections
8616+ item_buy_logic.append(dataframe['close'] > (dataframe['sup_level_1h'] * 0.93))
86168617
86178618 # Logic
86188619 item_buy_logic.append(dataframe['ema_26'] > dataframe['ema_12'])
86198620 item_buy_logic.append((dataframe['ema_26'] - dataframe['ema_12']) > (dataframe['open'] * 0.02))
86208621 item_buy_logic.append((dataframe['ema_26'].shift() - dataframe['ema_12'].shift()) > (dataframe['open'] / 100))
86218622 item_buy_logic.append(dataframe['close'] < (dataframe['bb20_2_low'] * 0.992))
8622- item_buy_logic.append(dataframe['rsi_14 '] > 30 .0)
8623- item_buy_logic.append(dataframe['mfi '] > 25.0 )
8624- item_buy_logic.append(dataframe['crsi_1h'] > 14 .0)
8623+ item_buy_logic.append(dataframe['mfi '] > 18 .0)
8624+ item_buy_logic.append(dataframe['cti_1h '] < 0.82 )
8625+ item_buy_logic.append(dataframe['crsi_1h'] > 10 .0)
86258626
86268627 # Condition #5 - Semi swing. Local dip. Uptrend.
86278628 elif index == 5:
0 commit comments