Skip to content

Commit 27476e1

Browse files
committed
X7: signal 163: add protection.
1 parent ab19f05 commit 27476e1

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.704"
72+
return "v17.3.705"
7373

7474
stoploss = -0.99
7575

@@ -21170,6 +21170,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2117021170
)
2117121171
# 4h down move, 4h & 1d high
2117221172
& ((df["RSI_3_4h"] > 70.0) | (df["AROONU_14_4h"] < 90.0) | (df["AROONU_14_1d"] < 100.0))
21173+
# 1d down move, 4h high
21174+
& ((df["RSI_3_1d"] > 3.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 60.0))
2117321175
# 1d down move, 1h high
2117421176
& ((df["RSI_3_1d"] > 5.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 80.0))
2117521177
# 1d down move, 15m & 1h still high

0 commit comments

Comments
 (0)