Skip to content

Commit b791a69

Browse files
committed
X7: signal 3: fine tune.
1 parent fe6080f commit b791a69

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

NostalgiaForInfinityX7.py

Lines changed: 7 additions & 5 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.37"
72+
return "v17.3.38"
7373

7474
stoploss = -0.99
7575

@@ -12715,16 +12715,16 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1271512715
& ((df["RSI_3_15m"] > 15.0) | (df["CMF_20_4h"] > -0.30) | (df["AROONU_14_15m"] < 60.0))
1271612716
# 15m down move, 15m still high, 1h high
1271712717
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 50.0) | (df["AROONU_14_1h"] < 80.0))
12718-
# 15m down move, 15m & 1h high
12719-
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_1h"] < 70.0))
12720-
# 15m down move, 15m & 4h high
12721-
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_4h"] < 70.0))
1272212718
# 15m down move, 15m high, 4h downtrend
1272312719
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 60.0) | (df["ROC_9_4h"] > -20.0))
1272412720
# 15m down move, 15m high, 1d downtrend
1272512721
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 60.0) | (df["ROC_9_1d"] > -70.0))
1272612722
# 15m down move, 15m high, 1d overbought
1272712723
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 60.0) | (df["ROC_9_1d"] < 100.0))
12724+
# 15m down move, 15m & 1h high
12725+
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_1h"] < 70.0))
12726+
# 15m down move, 15m & 4h high
12727+
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_4h"] < 70.0))
1272812728
# 15m down move, 15m still high, 4h high
1272912729
& ((df["RSI_3_15m"] > 15.0) | (df["AROONU_14_15m"] < 70.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0))
1273012730
# 15m down move, 15m high, 1d overbought
@@ -13047,6 +13047,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1304713047
& ((df["RSI_3_1d"] > 40.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_1d"] < 30.0))
1304813048
# 1d down move, 1h high, 1d overbought
1304913049
& ((df["RSI_3_1d"] > 40.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 70.0) | (df["ROC_9_1d"] < 50.0))
13050+
# 15m still high, 4h high, 1d overbought
13051+
& ((df["AROONU_14_15m"] < 50.0) | (df["RSI_14_4h"] < 60.0) | (df["ROC_9_1d"] < 70.0))
1305013052
# 15m still high, 1h downtrend, 4h overbought
1305113053
& ((df["AROONU_14_15m"] < 50.0) | (df["ROC_9_1h"] > -10.0) | (df["ROC_9_4h"] < 40.0))
1305213054
# 15m & 1h & 4h high

0 commit comments

Comments
 (0)