Skip to content

Commit cc23ae6

Browse files
committed
X7: signal 104: add protection.
1 parent 935b5a4 commit cc23ae6

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.757"
72+
return "v17.3.758"
7373

7474
stoploss = -0.99
7575

@@ -19143,6 +19143,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1914319143
)
1914419144
# 4h down move, 1h downtrend, 1h still not low enough
1914519145
long_entry_logic.append((df["RSI_3_4h"] > 10.0) | (df["CMF_20_1h"] > -0.25) | (df["AROONU_14_1h"] < 30.0))
19146+
# 4h down move, 1h & 1d downtrend
19147+
long_entry_logic.append((df["RSI_3_4h"] > 10.0) | (df["ROC_9_1h"] > -20.0) | (df["ROC_9_1d"] > -20.0))
1914619148
# 4h & 1d down move, 4h still high
1914719149
long_entry_logic.append(
1914819150
(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)