diff --git a/NostalgiaForInfinityX4.py b/NostalgiaForInfinityX4.py index e4e4d291d9..9ed5df1500 100644 --- a/NostalgiaForInfinityX4.py +++ b/NostalgiaForInfinityX4.py @@ -68,7 +68,7 @@ class NostalgiaForInfinityX4(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v14.1.671" + return "v14.1.672" stoploss = -0.99 @@ -13928,6 +13928,17 @@ def populate_indicators(self, df: DataFrame, metadata: dict) -> DataFrame: | (df["close"] > df["sup_level_1h"]) | (df["close"] > df["sup_level_4h"]) ) + & ( + (df["change_pct_1h"] > -0.01) + | (df["rsi_14"] > df["rsi_14"].shift(12)) + | (df["rsi_14_15m"] > df["rsi_14_15m"].shift(12)) + | (df["rsi_14_15m"] < 40.0) + | (df["rsi_14_1h"] < 46.0) + | (df["rsi_14_4h"] < 50.0) + | (df["close"] < df["res_hlevel_4h"]) + | (df["close"] < df["res_hlevel_1d"]) + | (df["ema_200_dec_24_4h"] == False) + ) ) df["protections_short_global"] = True