Skip to content

Commit 6bc27aa

Browse files
committed
X7: signal 142: add protection.
1 parent 32d31e2 commit 6bc27aa

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.763"
72+
return "v17.3.764"
7373

7474
stoploss = -0.99
7575

@@ -19826,6 +19826,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1982619826
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_15m"] < 50.0) | (df["AROONU_14_1h"] < 85.0))
1982719827
# 1h down move, 4h high, 1d overbought
1982819828
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_4h"] < 70.0) | (df["ROC_9_1d"] < 100.0))
19829+
# 1h down move, 1h still high, 1d downtrend
19830+
& ((df["RSI_3_1h"] > 35.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0) | (df["ROC_9_1d"] > -30.0))
1982919831
# 1h down move, 1h & 4h high
1983019832
& ((df["RSI_3_1h"] > 45.0) | (df["AROONU_14_1h"] < 80.0) | (df["AROONU_14_4h"] < 100.0))
1983119833
# 1h down move, 4h high & overbought

0 commit comments

Comments
 (0)