Skip to content

Commit ec4f285

Browse files
committed
X7: signal 6: add protection.
1 parent 9ebfc52 commit ec4f285

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.708"
72+
return "v17.3.709"
7373

7474
stoploss = -0.99
7575

@@ -14459,6 +14459,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1445914459
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_4h"] > -20.0) | (df["ROC_9_1d"] > -80.0))
1446014460
# 1h down move, 1h & 1d overbought
1446114461
& ((df["STOCHRSIk_14_14_3_3_1h"] < 90.0) | (df["ROC_9_1h"] < 10.0) | (df["ROC_9_1d"] < 50.0))
14462+
# 1h high & overbought
14463+
& ((df["STOCHRSIk_14_14_3_3_1h"] < 90.0) | (df["ROC_9_1h"] < 40.0))
1446214464
# 1h high, 4h & 1d overbought
1446314465
& ((df["STOCHRSIk_14_14_3_3_1h"] < 90.0) | (df["ROC_9_4h"] < 20.0) | (df["ROC_9_1d"] < 100.0))
1446414466
# 4h high, 1h & 1d overbought

0 commit comments

Comments
 (0)