Skip to content

Commit 935b5a4

Browse files
committed
X6: signal 104: add protection.
1 parent 7568cd1 commit 935b5a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NostalgiaForInfinityX6.py

Lines changed: 3 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.659"
72+
return "v16.8.660"
7373

7474
stoploss = -0.99
7575

@@ -17233,6 +17233,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1723317233
)
1723417234
# 4h down move, 1h downtrend, 1h still not low enough
1723517235
long_entry_logic.append((df["RSI_3_4h"] > 10.0) | (df["CMF_20_1h"] > -0.25) | (df["AROONU_14_1h"] < 30.0))
17236+
# 4h down move, 1h & 1d downtrend
17237+
long_entry_logic.append((df["RSI_3_4h"] > 10.0) | (df["ROC_9_1h"] > -20.0) | (df["ROC_9_1d"] > -20.0))
1723617238
# 4h & 1d down move, 4h still high
1723717239
long_entry_logic.append(
1723817240
(df["RSI_3_4h"] > 15.0) | (df["RSI_3_1d"] > 45.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 40.0)

0 commit comments

Comments
 (0)