Skip to content

Commit 3f47926

Browse files
committed
X7: signal 42: add protection.
1 parent 593ea7c commit 3f47926

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.710"
72+
return "v17.3.711"
7373

7474
stoploss = -0.99
7575

@@ -15604,6 +15604,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1560415604
& ((df["RSI_3_4h"] > 40.0) | (df["AROONU_14_4h"] < 70.0) | (df["AROONU_14_1d"] < 100.0))
1560515605
# 4h down move, 4h high, 1d overbought
1560615606
& ((df["RSI_3_4h"] > 40.0) | (df["AROONU_14_4h"] < 70.0) | (df["ROC_9_1d"] < 20.0))
15607+
# 4h down move, 4h overbought, 1d downtrend
15608+
& ((df["RSI_3_4h"] > 40.0) | (df["ROC_9_4h"] < 10.0) | (df["ROC_9_1d"] > -40.0))
1560715609
# 4h down move, 4h & 1d overbought
1560815610
& ((df["RSI_3_4h"] > 40.0) | (df["ROC_9_4h"] < 60.0) | (df["ROC_9_1d"] < 80.0))
1560915611
# 4h down move, 4h high & overbought

0 commit comments

Comments
 (0)