Skip to content

Commit 2539679

Browse files
committed
X7: signal 163: add protection.
1 parent b6b99aa commit 2539679

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.645"
72+
return "v17.3.646"
7373

7474
stoploss = -0.99
7575

@@ -20936,6 +20936,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2093620936
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_1h"] < 70.0) | (df["AROONU_14_4h"] < 90.0))
2093720937
# 1h down move, 1h & 1d high
2093820938
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_1h"] < 90.0) | (df["AROONU_14_1d"] < 90.0))
20939+
# 1h & 1d down move, 1d high
20940+
& ((df["RSI_3_1h"] > 40.0) | (df["RSI_3_1d"] > 55.0) | (df["AROONU_14_1d"] < 100.0))
2093920941
# 1h down move, 1h high, 4h overbought
2094020942
& ((df["RSI_3_1h"] > 40.0) | (df["AROONU_14_1h"] < 70.0) | (df["ROC_9_4h"] < 40.0))
2094120943
# 1h down move, 1h & 4h high

0 commit comments

Comments
 (0)