From 9c165904c7191908029e75ca8d5c4171bba7f9f5 Mon Sep 17 00:00:00 2001 From: iterativ Date: Sat, 26 Oct 2024 15:32:31 +0300 Subject: [PATCH] X5: signal 6: rework. --- NostalgiaForInfinityX5.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/NostalgiaForInfinityX5.py b/NostalgiaForInfinityX5.py index 0498237899..286992ad31 100644 --- a/NostalgiaForInfinityX5.py +++ b/NostalgiaForInfinityX5.py @@ -66,7 +66,7 @@ class NostalgiaForInfinityX5(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v15.1.178" + return "v15.1.179" stoploss = -0.99 @@ -5022,6 +5022,13 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame: long_entry_logic.append( (df["RSI_3_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 30.0) | (df["ROC_9_1d"] > -50.0) ) + # 15m down move, 15m still high, 1h still high, 1h downtrend + long_entry_logic.append( + (df["RSI_3_15m"] > 20.0) + | (df["AROONU_14_15m"] < 50.0) + | (df["STOCHRSIk_14_14_3_3_1h"] < 40.0) + | (df["ROC_9_1h"] > -10.0) + ) # 15m down move, 15m still high, 4h high long_entry_logic.append( (df["RSI_3_15m"] > 20.0) | (df["AROONU_14_15m"] < 75.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 70.0)