Skip to content

Commit 6341e20

Browse files
committed
X6: signal 501: add protection.
1 parent f766fa9 commit 6341e20

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.629"
72+
return "v16.8.630"
7373

7474
stoploss = -0.99
7575

@@ -18885,6 +18885,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1888518885
short_entry_logic.append(
1888618886
(df["RSI_3_1h"] < 90.0) | (df["STOCHRSIk_14_14_3_3_1h"] > 70.0) | (df["STOCHRSIk_14_14_3_3_1d"] > 30.0)
1888718887
)
18888+
# 1h up move, 4h low, 1h uptrend
18889+
short_entry_logic.append(
18890+
(df["RSI_3_1h"] < 90.0) | (df["STOCHRSIk_14_14_3_3_4h"] > 20.0) | (df["ROC_9_1h"] < 10.0)
18891+
)
1888818892
# 1h up move, 4h low, 1h overbought
1888918893
short_entry_logic.append(
1889018894
(df["RSI_3_1h"] < 90.0) | (df["STOCHRSIk_14_14_3_3_4h"] > 40.0) | (df["ROC_9_1h"] < 30.0)

0 commit comments

Comments
 (0)