Skip to content

Commit 9287e70

Browse files
committed
X7: signal 5: add protection.
1 parent 6f6290c commit 9287e70

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.648"
72+
return "v17.3.649"
7373

7474
stoploss = -0.99
7575

@@ -13746,6 +13746,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1374613746
& ((df["RSI_3_4h"] > 5.0) | (df["RSI_3_1d"] > 10.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 30.0))
1374713747
# 4h & 1d down move, 15m high
1374813748
& ((df["RSI_3_4h"] > 10.0) | (df["RSI_3_1d"] > 15.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 80.0))
13749+
# 4h & 1d down move, 1d still high
13750+
& ((df["RSI_3_4h"] > 10.0) | (df["RSI_3_1d"] > 25.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 50.0))
1374913751
# 4h down move, 15m downtrend, 1d high
1375013752
& ((df["RSI_3_4h"] > 10.0) | (df["CMF_20_15m"] > -0.30) | (df["AROONU_14_1d"] < 80.0))
1375113753
# 4h down move, 1h high, 1d downtrend

0 commit comments

Comments
 (0)