Skip to content

Commit e2b178e

Browse files
committed
X7: signal 43: add protection.
1 parent 994d075 commit e2b178e

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.894"
72+
return "v17.3.895"
7373

7474
stoploss = -0.99
7575

@@ -16333,6 +16333,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1633316333
& ((df["RSI_3_4h"] > 3.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0) | (df["ROC_9_4h"] > -30.0))
1633416334
# 4h & 1d down move, 1d still high
1633516335
& ((df["RSI_3_4h"] > 5.0) | (df["RSI_3_1d"] > 30.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 40.0))
16336+
# 4h down move, 1h & 4h downtrend
16337+
& ((df["RSI_3_4h"] > 5.0) | (df["ROC_9_1h"] > -10.0) | (df["ROC_9_4h"] > -10.0))
1633616338
# 4h & 1d down move, 1d downtrend
1633716339
& ((df["RSI_3_4h"] > 10.0) | (df["RSI_3_1d"] > 10.0) | (df["ROC_9_1d"] > -30.0))
1633816340
# 4h down move, 1d still high, 1d downtrend

0 commit comments

Comments
 (0)