Skip to content

Commit b192c42

Browse files
committed
X7: signal 3: add protection.
1 parent f8d6cea commit b192c42

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.747"
72+
return "v17.3.748"
7373

7474
stoploss = -0.99
7575

@@ -12932,6 +12932,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1293212932
# 15m down move, 15m high, 4h downtrend
1293312933
& ((df["RSI_3_15m"] > 20.0) | (df["AROONU_14_15m"] < 60.0) | (df["ROC_9_4h"] > -40.0))
1293412934
# 15m down move, 15m high, 4h overbought
12935+
& ((df["RSI_3_15m"] > 20.0) | (df["AROONU_14_15m"] < 60.0) | (df["ROC_9_4h"] < 10.0))
12936+
# 15m down move, 15m high, 4h overbought
1293512937
& ((df["RSI_3_15m"] > 20.0) | (df["AROONU_14_15m"] < 70.0) | (df["ROC_9_4h"] < 20.0))
1293612938
# 15m down move, 15m high, 1d downtrend
1293712939
& ((df["RSI_3_15m"] > 20.0) | (df["AROONU_14_15m"] < 70.0) | (df["ROC_9_1d"] > -20.0))

0 commit comments

Comments
 (0)