Skip to content

Commit 090075c

Browse files
committed
X6: signal 161: add protection.
1 parent da83dec commit 090075c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

NostalgiaForInfinityX6.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class NostalgiaForInfinityX6(IStrategy):
6969
INTERFACE_VERSION = 3
7070

7171
def version(self) -> str:
72-
return "v16.8.634"
72+
return "v16.8.635"
7373

7474
stoploss = -0.99
7575

@@ -17945,6 +17945,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1794517945
long_entry_logic.append(
1794617946
(df["RSI_3_4h"] > 35.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0) | (df["AROONU_14_4h"] < 50.0)
1794717947
)
17948+
# 4h down move, 1d high & overbought
17949+
long_entry_logic.append(
17950+
(df["RSI_3_4h"] > 35.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 80.0) | (df["ROC_9_1d"] < 40.0)
17951+
)
1794817952
# 4h down move, 15m & 1h high
1794917953
long_entry_logic.append(
1795017954
(df["RSI_3_4h"] > 40.0) | (df["AROONU_14_15m"] < 80.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 70.0)

0 commit comments

Comments
 (0)