Skip to content

Commit 7e46202

Browse files
committed
X6: signal 3: fine tune.
1 parent c0758ae commit 7e46202

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

NostalgiaForInfinityX6.py

Lines changed: 9 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.5.151"
72+
return "v16.5.152"
7373

7474
stoploss = -0.99
7575

@@ -4826,6 +4826,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
48264826
long_entry_logic.append(
48274827
(df["RSI_3_15m"] > 25.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0) | (df["AROONU_14_4h"] < 85.0)
48284828
)
4829+
# 15m down move, 15m still not low enough, 4h still high
4830+
long_entry_logic.append(
4831+
(df["RSI_3_15m"] > 30.0) | (df["AROONU_14_15m"] < 35.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0)
4832+
)
48294833
# 15m down move, 15m still high, 1h high
48304834
long_entry_logic.append(
48314835
(df["RSI_3_15m"] > 30.0) | (df["AROONU_14_15m"] < 50.0) | (df["AROONU_14_1h"] < 90.0)
@@ -4924,6 +4928,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
49244928
long_entry_logic.append(
49254929
(df["RSI_3_4h"] > 10.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0) | (df["AROONU_14_4h"] < 25.0)
49264930
)
4931+
# 4h down move. 15m still high, 1h still not low enough
4932+
long_entry_logic.append(
4933+
(df["RSI_3_4h"] > 10.0) | (df["AROONU_14_15m"] < 50.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 20.0)
4934+
)
49274935
# 4h down move, drop in last 1h
49284936
long_entry_logic.append((df["RSI_3_4h"] > 15.0) | (df["close"] > (df["close_max_12"] * 0.85)))
49294937
# 4h & 1d down move, 15m still high

0 commit comments

Comments
 (0)