Skip to content

Commit b76bad2

Browse files
committed
X7: signal 21: add protection.
1 parent 7def347 commit b76bad2

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.660"
72+
return "v17.3.661"
7373

7474
stoploss = -0.99
7575

@@ -14635,7 +14635,7 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1463514635
# 1h high, 1h & 4h overbought
1463614636
& ((df["STOCHRSIk_14_14_3_3_1h"] < 60.0) | (df["ROC_9_1h"] < 40.0) | (df["ROC_9_4h"] < 40.0))
1463714637
# 1h high, 1h overbought, 1d downtrend
14638-
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_1h"] < 30.0) | (df["ROC_9_1d"] > -40.0))
14638+
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_1h"] < 30.0) | (df["ROC_9_1d"] > -30.0))
1463914639
# 1h high, 4h overbought. 1d downtrend
1464014640
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_4h"] < 40.0) | (df["CMF_20_1d"] > -0.25))
1464114641
# 4h high, 1h & 4h overbought

0 commit comments

Comments
 (0)