Skip to content

Commit 5c338eb

Browse files
committed
X7: signal 6: add protection.
1 parent 4914cb3 commit 5c338eb

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.569"
72+
return "v17.3.570"
7373

7474
stoploss = -0.99
7575

@@ -14298,6 +14298,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1429814298
& ((df["RSI_3_1d"] > 25.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 50.0) | (df["ROC_9_1d"] > -20.0))
1429914299
# 1d down move, 4h & 1d high
1430014300
& ((df["RSI_3_1d"] > 40.0) | (df["AROONU_14_4h"] < 70.0) | (df["AROONU_14_1d"] < 100.0))
14301+
# 1d down move, 1d high & overbought
14302+
& ((df["RSI_3_1d"] > 40.0) | (df["AROONU_14_1d"] < 80.0) | (df["ROC_9_1d"] < 10.0))
1430114303
# 1d down move, 1h high, 1d overbought
1430214304
& ((df["RSI_3_1d"] > 60.0) | (df["AROONU_14_1h"] < 70.0) | (df["ROC_9_1d"] < 100.0))
1430314305
# 4h downtrend, 4h high & over

0 commit comments

Comments
 (0)