Skip to content

Commit eb25f5e

Browse files
committed
X7: signal 163: add protection.
1 parent da5f300 commit eb25f5e

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.640"
72+
return "v17.3.641"
7373

7474
stoploss = -0.99
7575

@@ -20782,6 +20782,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2078220782
| (df["AROONU_14_1h"] < 50.0)
2078320783
| (df["AROONU_14_4h"] < 50.0)
2078420784
)
20785+
# 15m & 1d down move, 1h high
20786+
& ((df["RSI_3_15m"] > 15.0) | (df["RSI_3_1d"] > 15.0) | (df["AROONU_14_1h"] < 100.0))
2078520787
# 15m & 1d down move, 1d high
2078620788
& ((df["RSI_3_15m"] > 15.0) | (df["RSI_3_1d"] > 20.0) | (df["AROONU_14_1d"] < 80.0))
2078720789
# 15m & 1d down move, 1d overbought

0 commit comments

Comments
 (0)