Skip to content

Commit b3fd0bf

Browse files
committed
X6: signal 45: fine tune.
1 parent 55ebf4b commit b3fd0bf

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.5.172"
72+
return "v16.5.173"
7373

7474
stoploss = -0.99
7575

@@ -7119,6 +7119,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
71197119
long_entry_logic.append((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_4h"] < 80.0))
71207120
# 1h down move, 4h high
71217121
long_entry_logic.append((df["RSI_3_1h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0))
7122+
# 1h down move, 4h & 1d high
7123+
long_entry_logic.append(
7124+
(df["RSI_3_1h"] > 35.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 80.0)
7125+
)
71227126
# 1h down move, 1h still high, 1d overbought
71237127
long_entry_logic.append((df["RSI_3_1h"] > 40.0) | (df["AROONU_14_1h"] < 50.0) | (df["ROC_9_1d"] < 50.0))
71247128
# 1h down move, 1h & 4h high

0 commit comments

Comments
 (0)