Skip to content

Commit 2a31144

Browse files
committed
X7: signal 6: add protection.
1 parent 9a4b78f commit 2a31144

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.883"
72+
return "v17.3.884"
7373

7474
stoploss = -0.99
7575

@@ -14609,6 +14609,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1460914609
& ((df["RSI_3_4h"] > 55.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0) | (df["ROC_9_4h"] < 10.0))
1461014610
# 4h down move, 1d high & overbought
1461114611
& ((df["RSI_3_4h"] > 60.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_1d"] < 200.0))
14612+
# 4h down move, 4h still high, 4h overbought
14613+
& ((df["RSI_3_4h"] > 60.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0) | (df["ROC_9_4h"] < 10.0))
1461214614
# 4h down move, 4h high, 1d overbought
1461314615
& ((df["RSI_3_4h"] > 65.0) | (df["AROONU_14_4h"] < 75.0) | (df["ROC_9_1d"] < 30.0))
1461414616
# 4h down move, 4h high & overbought

0 commit comments

Comments
 (0)