Skip to content

Commit 0c996f3

Browse files
committed
X6: add global protection entry (Long).
1 parent bb56527 commit 0c996f3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

NostalgiaForInfinityX6.py

Lines changed: 12 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.7.85"
72+
return "v16.7.86"
7373

7474
stoploss = -0.99
7575

@@ -4931,6 +4931,17 @@ def populate_indicators(self, df: DataFrame, metadata: dict) -> DataFrame:
49314931
| (df["AROONU_14_1h"] < 85.0)
49324932
| (df["ROC_9_1d"] < 20.0)
49334933
)
4934+
# 15m & 1h down move, 15m & 1h & 4h still high, 15m & 1h high, 4h overbought
4935+
& (
4936+
(df["RSI_3_15m"] > 20.0)
4937+
| (df["RSI_3_1h"] > 35.0)
4938+
| (df["RSI_14_15m"] < 40.0)
4939+
| (df["RSI_14_1h"] < 50.0)
4940+
| (df["RSI_14_4h"] < 50.0)
4941+
| (df["AROONU_14_15m"] < 60.0)
4942+
| (df["AROONU_14_1h"] < 100.0)
4943+
| (df["ROC_9_4h"] < 10.0)
4944+
)
49344945
# 15m & 1h down move, 15m & 1h sitll high, 4h high, 1h & 4h high, 1h & 4h overbought
49354946
& (
49364947
(df["RSI_3_15m"] > 20.0)

0 commit comments

Comments
 (0)