Skip to content

Commit 2674176

Browse files
committed
X7: signal 3: add protection.
1 parent 91e7c5d commit 2674176

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NostalgiaForInfinityX7.py

Lines changed: 2 additions & 2 deletions
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.603"
72+
return "v17.3.604"
7373

7474
stoploss = -0.99
7575

@@ -13280,7 +13280,7 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1328013280
# 1h high, 1d high & overbought
1328113281
& ((df["AROONU_14_1h"] < 90.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_1d"] < 30.0))
1328213282
# 4h & 1d high, 4h overbought
13283-
& ((df["AROONU_14_4h"] < 80.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 30.0))
13283+
& ((df["AROONU_14_4h"] < 80.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 10.0))
1328413284
# 4h & 1d high, 1d downtrend
1328513285
& ((df["AROONU_14_4h"] < 80.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_1d"] > -20.0))
1328613286
# 1d high, 4h & 1d downtrend

0 commit comments

Comments
 (0)