diff --git a/NostalgiaForInfinityX5.py b/NostalgiaForInfinityX5.py index 239169a8b0..168ccc6f69 100644 --- a/NostalgiaForInfinityX5.py +++ b/NostalgiaForInfinityX5.py @@ -16348,6 +16348,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_0_105" + elif ( + (last_candle["RSI_3"] > 95.0) + and (last_candle["RSI_14"] < 46.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_0_106" elif 0.02 > current_profit >= 0.01: if ( (last_candle["WILLR_14"] > -1.0) @@ -17199,6 +17208,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_1_105" + elif ( + (last_candle["RSI_3"] > 72.0) + and (last_candle["RSI_14"] < 48.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_1_106" elif 0.03 > current_profit >= 0.02: if ( (last_candle["WILLR_14"] > -1.0) @@ -18050,6 +18068,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_2_105" + elif ( + (last_candle["RSI_3"] > 70.0) + and (last_candle["RSI_14"] < 50.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_2_106" elif 0.04 > current_profit >= 0.03: if ( (last_candle["WILLR_14"] > -1.0) @@ -18901,6 +18928,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_3_105" + elif ( + (last_candle["RSI_3"] > 68.0) + and (last_candle["RSI_14"] < 52.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_3_106" elif 0.05 > current_profit >= 0.04: if ( (last_candle["WILLR_14"] > -1.0) @@ -19752,6 +19788,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_4_105" + elif ( + (last_candle["RSI_3"] > 66.0) + and (last_candle["RSI_14"] < 54.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_4_106" elif 0.06 > current_profit >= 0.05: if ( (last_candle["WILLR_14"] > -1.0) @@ -20603,6 +20648,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_5_105" + elif ( + (last_candle["RSI_3"] > 64.0) + and (last_candle["RSI_14"] < 56.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_5_106" elif 0.07 > current_profit >= 0.06: if ( (last_candle["WILLR_14"] > -1.0) @@ -21454,6 +21508,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_6_105" + elif ( + (last_candle["RSI_3"] > 66.0) + and (last_candle["RSI_14"] < 54.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_6_106" elif 0.08 > current_profit >= 0.07: if ( (last_candle["WILLR_14"] > -1.0) @@ -22305,6 +22368,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_7_105" + elif ( + (last_candle["RSI_3"] > 68.0) + and (last_candle["RSI_14"] < 52.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_7_106" elif 0.09 > current_profit >= 0.08: if ( (last_candle["WILLR_14"] > -1.0) @@ -23156,6 +23228,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_8_105" + elif ( + (last_candle["RSI_3"] > 70.0) + and (last_candle["RSI_14"] < 50.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_8_106" elif 0.1 > current_profit >= 0.09: if ( (last_candle["WILLR_14"] > -1.0) @@ -24007,6 +24088,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_9_105" + elif ( + (last_candle["RSI_3"] > 72.0) + and (last_candle["RSI_14"] < 48.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_9_106" elif 0.12 > current_profit >= 0.1: if ( (last_candle["WILLR_14"] > -1.0) @@ -24858,6 +24948,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_10_105" + elif ( + (last_candle["RSI_3"] > 74.0) + and (last_candle["RSI_14"] < 46.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_10_106" elif 0.2 > current_profit >= 0.12: if ( (last_candle["WILLR_14"] > -1.0) @@ -25709,6 +25808,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_11_105" + elif ( + (last_candle["RSI_3"] > 76.0) + and (last_candle["RSI_14"] < 44.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_11_106" elif current_profit >= 0.2: if ( (last_candle["WILLR_14"] > -1.0) @@ -26560,6 +26668,15 @@ def long_exit_dec( and (last_candle["ROC_9_4h"] > 25.0) ): return True, f"exit_{mode_name}_d_12_105" + elif ( + (last_candle["RSI_3"] > 78.0) + and (last_candle["RSI_14"] < 42.0) + and (last_candle["RSI_3_1h"] < 50.0) + and (last_candle["STOCHRSIk_14_14_3_3_1h"] > 50.0) + and (last_candle["RSI_14_4h"] > 70.0) + and (last_candle["ROC_9_4h"] > 40.0) + ): + return True, f"exit_{mode_name}_d_12_106" # Here ends exit signal conditions for long_exit_dec