Skip to content

Commit 2944ee5

Browse files
committed
X7: signal 3: add protection.
1 parent 7f0ad3e commit 2944ee5

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.720"
72+
return "v17.3.721"
7373

7474
stoploss = -0.99
7575

@@ -13265,6 +13265,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1326513265
& ((df["RSI_3_4h"] > 60.0) | (df["AROONU_14_15m"] < 60.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 90.0))
1326613266
# 4h down move, 4h high & overbought
1326713267
& ((df["RSI_3_4h"] > 60.0) | (df["AROONU_14_4h"] < 70.0) | (df["ROC_9_4h"] < 30.0))
13268+
# 4h down move, 4h & 1d overbought
13269+
& ((df["RSI_3_4h"] > 60.0) | (df["ROC_9_4h"] < 30.0) | (df["ROC_9_1d"] < 50.0))
1326813270
# 4h down move, 15m high, 4h high
1326913271
& ((df["RSI_3_4h"] > 65.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_4h"] < 90.0))
1327013272
# 4h down move, 4h high & overbought

0 commit comments

Comments
 (0)