Skip to content

Commit abd9404

Browse files
committed
X7: signal 102: add protection.
1 parent 0bbe28a commit abd9404

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

NostalgiaForInfinityX7.py

Lines changed: 5 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.761"
72+
return "v17.3.762"
7373

7474
stoploss = -0.99
7575

@@ -18386,6 +18386,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1838618386
)
1838718387
# 15m & 4h down move, 15m still high
1838818388
long_entry_logic.append((df["RSI_3_15m"] > 10.0) | (df["RSI_3_4h"] > 20.0) | (df["AROONU_14_15m"] < 50.0))
18389+
# 15m & 4h down move, 4h still not low enough
18390+
long_entry_logic.append(
18391+
(df["RSI_3_15m"] > 10.0) | (df["RSI_3_4h"] > 20.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 30.0)
18392+
)
1838918393
# 15m & 4h down move, 4h still high
1839018394
long_entry_logic.append((df["RSI_3_15m"] > 10.0) | (df["RSI_3_4h"] > 25.0) | (df["AROONU_14_4h"] < 50.0))
1839118395
# 15m & 4h down move, 4h still high

0 commit comments

Comments
 (0)