diff --git a/NostalgiaForInfinityX5.py b/NostalgiaForInfinityX5.py index 38a6964802..32aa60145f 100644 --- a/NostalgiaForInfinityX5.py +++ b/NostalgiaForInfinityX5.py @@ -66,7 +66,7 @@ class NostalgiaForInfinityX5(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v15.1.119" + return "v15.1.120" stoploss = -0.99 @@ -5223,6 +5223,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame: long_entry_logic.append( (df["RSI_3_1h"] > 5.0) | (df["RSI_3_4h"] > 15.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0) ) + # 1h down move, 4h still high, 1d high + long_entry_logic.append( + (df["RSI_3_1h"] > 5.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 40.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 50.0) + ) # 1h & 4h down move, 4h still high long_entry_logic.append( (df["RSI_3_1h"] > 5.0) | (df["RSI_3_change_pct_4h"] > -50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0)