From 4c5a51957e0fac5431a2c0e13c36108dbc62dc2d Mon Sep 17 00:00:00 2001 From: iterativ Date: Sat, 13 Apr 2024 04:07:26 +0300 Subject: [PATCH] X3: signal 46: rework. --- NostalgiaForInfinityX3.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/NostalgiaForInfinityX3.py b/NostalgiaForInfinityX3.py index cbd1a7cfde..a9854ef1e7 100644 --- a/NostalgiaForInfinityX3.py +++ b/NostalgiaForInfinityX3.py @@ -68,7 +68,7 @@ class NostalgiaForInfinityX3(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v13.1.589" + return "v13.1.590" stoploss = -0.99 @@ -40404,6 +40404,13 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame: | (df["r_480_4h"] > -75.0) | (df["ema_200_dec_4_1d"] == False) ) + long_entry_logic.append( + (df["not_downtrend_1h"]) + | (df["rsi_14_15m"] > df["rsi_14_15m"].shift(12)) + | (df["close"] > df["sup_level_1h"]) + | (df["ema_200_dec_48_1h"] == False) + | (df["close"] > (df["high_max_12_1d"] * 0.75)) + ) # Logic long_entry_logic.append(df["rsi_14"] < self.entry_46_rsi_14_max.value)