Skip to content

Commit 14e8854

Browse files
committed
X7: signal 161: add protection.
1 parent 642cbc4 commit 14e8854

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.570"
72+
return "v17.3.571"
7373

7474
stoploss = -0.99
7575

@@ -20177,6 +20177,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2017720177
long_entry_logic.append(
2017820178
(df["RSI_3_1h"] > 50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 90.0)
2017920179
)
20180+
# 1h down move, 1h & 4h high
20181+
long_entry_logic.append((df["RSI_3_1h"] > 55.0) | (df["AROONU_14_1h"] < 70.0) | (df["AROONU_14_4h"] < 100.0))
2018020182
# 1h down move, 5m up move, 1h still high
2018120183
long_entry_logic.append(
2018220184
(df["RSI_3_1h"] > 60.0) | (df["RSI_3"] < 60.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0)

0 commit comments

Comments
 (0)