Skip to content

Commit 1a396eb

Browse files
committed
X7: signal 6: add protection.
1 parent 7be42d8 commit 1a396eb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

NostalgiaForInfinityX7.py

Lines changed: 5 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.729"
72+
return "v17.3.730"
7373

7474
stoploss = -0.99
7575

@@ -14353,6 +14353,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1435314353
& ((df["RSI_3_1h"] > 65.0) | (df["AROONU_14_1h"] < 70.0) | (df["ROC_9_4h"] < 25.0))
1435414354
# 1h down move, 1h high, 1d overbought
1435514355
& ((df["RSI_3_1h"] > 65.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 90.0) | (df["ROC_9_1d"] < 20.0))
14356+
# 4h down move, 1h still not low enough, 4h downtrend
14357+
& ((df["RSI_3_4h"] > 3.0) | (df["AROONU_14_1h"] < 20.0) | (df["ROC_9_4h"] > -10.0))
14358+
# 4h down move, 4h & 1d downtrend
14359+
& ((df["RSI_3_4h"] > 3.0) | (df["ROC_9_4h"] > -10.0) | (df["ROC_9_1d"] > -10.0))
1435614360
# 4h & 1d down move, 15m still high
1435714361
& ((df["RSI_3_4h"] > 5.0) | (df["RSI_3_1d"] > 25.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 40.0))
1435814362
# 4h & 1d down move, 1h still not low enough

0 commit comments

Comments
 (0)