Skip to content

Commit c089bf1

Browse files
committed
X7: signal 161: add protection.
1 parent 999377b commit c089bf1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NostalgiaForInfinityX7.py

Lines changed: 3 additions & 1 deletion
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.646"
72+
return "v17.3.647"
7373

7474
stoploss = -0.99
7575

@@ -20365,6 +20365,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2036520365
long_entry_logic.append(
2036620366
(df["RSI_3_1h"] > 50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 90.0)
2036720367
)
20368+
# 1h down move, 1h still high, 1d high
20369+
long_entry_logic.append((df["RSI_3_1h"] > 50.0) | (df["AROONU_14_1h"] < 50.0) | (df["AROONU_14_1d"] < 90.0))
2036820370
# 1h down move, 1h & 4h high
2036920371
long_entry_logic.append((df["RSI_3_1h"] > 55.0) | (df["AROONU_14_1h"] < 70.0) | (df["AROONU_14_4h"] < 100.0))
2037020372
# 1h down move, 5m up move, 1h still high

0 commit comments

Comments
 (0)