diff --git a/NostalgiaForInfinityX4.py b/NostalgiaForInfinityX4.py index ad15097cac..279600d8a4 100644 --- a/NostalgiaForInfinityX4.py +++ b/NostalgiaForInfinityX4.py @@ -67,7 +67,7 @@ class NostalgiaForInfinityX4(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v14.0.521" + return "v14.0.522" # ROI table: minimal_roi = { @@ -9842,6 +9842,30 @@ def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame | (dataframe["ema_200_dec_48_1h"] == False) | (dataframe["close"] > (dataframe["high_max_6_1d"] * 0.6)) ) + # current 4h red, 1h downtrend, 1h dowmove, 1h & 4h & 1d still high + & ( + (dataframe["change_pct_4h"] > -0.04) + | (dataframe["not_downtrend_1h"]) + | (dataframe["rsi_3_1h"] > 20.0) + | (dataframe["cti_20_1h"] < 0.5) + | (dataframe["rsi_14_1h"] < 40.0) + | (dataframe["cti_20_4h"] < 0.5) + | (dataframe["rsi_14_4h"] < 46.0) + | (dataframe["cti_20_1d"] < -0.5) + | (dataframe["rsi_14_1d"] < 46.0) + ) + # current 4h green with top wick, 1h downmove, 15m & 1h & 4h & 1d still high + & ( + (dataframe["change_pct_4h"] < 0.02) + | (dataframe["top_wick_pct_4h"] < 0.08) + | (dataframe["rsi_3_1h"] > 26.0) + | (dataframe["rsi_14_15m"] < 30.0) + | (dataframe["cti_20_1h"] < 0.5) + | (dataframe["rsi_14_1h"] < 46.0) + | (dataframe["rsi_14_4h"] < 70.0) + | (dataframe["cti_20_1d"] < -0.5) + | (dataframe["rsi_14_1d"] < 46.0) + ) ) # Global protections