Skip to content

Commit 47811be

Browse files
committed
X7: signal 62: add protection.
1 parent 1b8bf52 commit 47811be

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.882"
72+
return "v17.3.883"
7373

7474
stoploss = -0.99
7575

@@ -17769,6 +17769,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1776917769
& ((df["RSI_3_4h"] > 30.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_1d"] < 20.0))
1777017770
# 4h down move, 4h still not low enough, 1d overbought
1777117771
& ((df["RSI_3_4h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 20.0) | (df["ROC_9_1d"] < 40.0))
17772+
# 4h down move, 1h high
17773+
& ((df["RSI_3_4h"] > 35.0) | (df["AROONU_14_1h"] < 70.0))
1777217774
# 4h down move, 15m & 4h still high
1777317775
& (
1777417776
(df["RSI_3_4h"] > 40.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0)

0 commit comments

Comments
 (0)