Skip to content

Commit dbc62b4

Browse files
committed
X6: signal 502: fine tune.
1 parent 46abbd9 commit dbc62b4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

NostalgiaForInfinityX6.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class NostalgiaForInfinityX6(IStrategy):
6969
INTERFACE_VERSION = 3
7070

7171
def version(self) -> str:
72-
return "v16.4.121"
72+
return "v16.5.0"
7373

7474
stoploss = -0.99
7575

@@ -8711,6 +8711,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
87118711
short_entry_logic.append((df["RSI_3_1h"] < 75.0) | (df["STOCHRSIk_14_14_3_3_1h"] > 50.0))
87128712
# 1h up move, 4h low
87138713
short_entry_logic.append((df["RSI_3_1h"] < 70.0) | (df["RSI_14_4h"] > 40.0))
8714+
# 4h up move, 1d still low
8715+
short_entry_logic.append((df["RSI_3_4h"] < 97.0) | (df["RSI_14_1d"] > 50.0))
87148716
# 4h up move, 1h still not high enough
87158717
short_entry_logic.append((df["RSI_3_4h"] < 95.0) | (df["STOCHRSIk_14_14_3_3_1h"] > 70.0))
87168718
# 4h up move, 4h still not high enough
@@ -8733,6 +8735,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
87338735
short_entry_logic.append((df["RSI_3_1d"] < 80.0) | (df["STOCHRSIk_14_14_3_3_4h"] > 40.0))
87348736
# 15m low, 1h still low
87358737
short_entry_logic.append((df["AROONU_14_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_1h"] > 50.0))
8738+
# 15m low, 4h low
8739+
short_entry_logic.append((df["AROONU_14_15m"] > 20.0) | (df["STOCHRSIk_14_14_3_3_4h"] > 20.0))
87368740
# 15m still low, 1h low
87378741
short_entry_logic.append((df["AROONU_14_15m"] > 50.0) | (df["STOCHRSIk_14_14_3_3_1h"] > 30.0))
87388742
# 15m still not high enough, 4h low

0 commit comments

Comments
 (0)