Skip to content

Commit 274f70d

Browse files
committed
X7: signal 3: add protection.
1 parent b970b25 commit 274f70d

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.561"
72+
return "v17.3.562"
7373

7474
stoploss = -0.99
7575

@@ -12901,6 +12901,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1290112901
& ((df["RSI_3_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_1d"] < 30.0))
1290212902
# 15m down move, 1h high
1290312903
& ((df["RSI_3_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 90.0))
12904+
# 15m down move, 4h still high, 1d downtrend
12905+
& ((df["RSI_3_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 40.0) | (df["ROC_9_1d"] > -20.0))
1290412906
# 15m down move, 4h high, 1d downtrend
1290512907
& ((df["RSI_3_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0) | (df["ROC_9_1d"] > -30.0))
1290612908
# 15m down move, 4h & 1d overbought

0 commit comments

Comments
 (0)