Skip to content

Commit 7478a04

Browse files
committed
X7: signal 502: add protection.
1 parent a3c1349 commit 7478a04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NostalgiaForInfinityX7.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class NostalgiaForInfinityX7(IStrategy):
6969
INTERFACE_VERSION = 3
7070

7171
def version(self) -> str:
72-
return "v17.3.776"
72+
return "v17.3.777"
7373

7474
stoploss = -0.99
7575

@@ -21854,6 +21854,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2185421854
short_entry_logic.append(
2185521855
(df["RSI_3_15m"] < 90.0) | (df["RSI_3_1h"] < 85.0) | (df["STOCHRSIk_14_14_3_3_1h"] > 80.0)
2185621856
)
21857+
# 15m & 1h up move, 4h stil low
21858+
short_entry_logic.append((df["RSI_3_15m"] < 90.0) | (df["RSI_3_1h"] < 80.0) | (df["AROONU_14_4h"] > 50.0))
2185721859
# 15m & 4h up move, 1d low
2185821860
short_entry_logic.append((df["RSI_3_15m"] < 90.0) | (df["RSI_3_4h"] < 85.0) | (df["RSI_14_1d"] > 40.0))
2185921861
# 15m & 4h up move, 1d low

0 commit comments

Comments
 (0)