Skip to content

Commit be6f3d6

Browse files
committed
X7: signal 161: add protection.
1 parent e82c2db commit be6f3d6

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.652"
72+
return "v17.3.653"
7373

7474
stoploss = -0.99
7575

@@ -20479,6 +20479,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2047920479
long_entry_logic.append(
2048020480
(df["RSI_3_4h"] > 50.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0) | (df["AROONU_14_4h"] < 70.0)
2048120481
)
20482+
# 4h down move, 15m & 1d high
20483+
long_entry_logic.append((df["RSI_3_4h"] > 50.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_1d"] < 90.0))
2048220484
# 4h down move, 1d high & overbought
2048320485
long_entry_logic.append((df["RSI_3_4h"] > 50.0) | (df["AROONU_14_1d"] < 90.0) | (df["ROC_9_1d"] < 20.0))
2048420486
# 4h down move, 15m & 4h high

0 commit comments

Comments
 (0)