Skip to content

Commit 4d5617b

Browse files
committed
X7: signal 142: add protection.
1 parent eb25f5e commit 4d5617b

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.641"
72+
return "v17.3.642"
7373

7474
stoploss = -0.99
7575

@@ -19648,6 +19648,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1964819648
& ((df["AROONU_14_4h"] < 100.0) | (df["ROC_9_1h"] < 20.0) | (df["ROC_9_4h"] < 40.0))
1964919649
# 1d high, 4h & 1d overbought
1965019650
& ((df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 60.0) | (df["ROC_9_1d"] < 100.0))
19651+
# 1h high, 1h & 1d overbought
19652+
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_1h"] < 20.0) | (df["ROC_9_1d"] < 100.0))
1965119653
)
1965219654

1965319655
# Logic

0 commit comments

Comments
 (0)