Skip to content

Commit f7fc10c

Browse files
committed
X7: signal 2: add protection.
1 parent a607a9e commit f7fc10c

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.766"
72+
return "v17.3.767"
7373

7474
stoploss = -0.99
7575

@@ -12420,6 +12420,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1242012420
& ((df["RSI_3_15m"] > 10.0) | (df["RSI_3_1h"] > 50.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 70.0))
1242112421
# 15m & 1h down move, 4h high
1242212422
& ((df["RSI_3_15m"] > 10.0) | (df["RSI_3_1h"] > 50.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0))
12423+
# 16m & 1h down move, 1h high
12424+
& ((df["RSI_3_15m"] > 10.0) | (df["RSI_3_1h"] > 55.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 70.0))
1242312425
# 15m & 1h down move, 4h high
1242412426
& ((df["RSI_3_15m"] > 10.0) | (df["RSI_3_1h"] > 55.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 90.0))
1242512427
# 15m & 1h down move, 1h high

0 commit comments

Comments
 (0)