Skip to content

Commit f7d8b7f

Browse files
committed
X7: signal 21: fine tune.
1 parent b55f666 commit f7d8b7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

NostalgiaForInfinityX7.py

Lines changed: 4 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.199"
72+
return "v17.3.200"
7373

7474
stoploss = -0.99
7575

@@ -14271,7 +14271,7 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1427114271
# 1h & 4h high, 1d overbought
1427214272
& ((df["AROONU_14_1h"] < 80.0) | (df["AROONU_14_4h"] < 100.0) | (df["ROC_9_1d"] < 100.0))
1427314273
# 1h & 1d high, 4h overbought
14274-
& ((df["AROONU_14_1h"] < 90.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 50.0))
14274+
& ((df["AROONU_14_1h"] < 90.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 30.0))
1427514275
# 1h & 4h high, 1h overbought
1427614276
& ((df["AROONU_14_1h"] < 80.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 90.0) | (df["ROC_9_1h"] < 10.0))
1427714277
# 1h high & overbought
@@ -14298,6 +14298,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1429814298
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_4h"] < 40.0) | (df["CMF_20_1d"] > -0.25))
1429914299
# 4h high, 1h & 4h overbought
1430014300
& ((df["STOCHRSIk_14_14_3_3_4h"] < 90.0) | (df["ROC_9_1h"] < 10.0) | (df["ROC_9_4h"] < 30.0))
14301+
# 4h high & 4h & 1d overbought
14302+
& ((df["STOCHRSIk_14_14_3_3_4h"] < 90.0) | (df["ROC_9_4h"] < 20.0) | (df["ROC_9_1d"] < 20.0))
1430114303
# 1d hihg, 1h & 1d overbought
1430214304
& ((df["STOCHRSIk_14_14_3_3_1d"] < 90.0) | (df["ROC_9_1h"] < 30.0) | (df["ROC_9_1d"] < 100.0))
1430314305
# 1d high, 4h & 1d overbought

0 commit comments

Comments
 (0)