Skip to content

Commit 8177421

Browse files
committed
X7: signal 144: add protection.
1 parent dff0f83 commit 8177421

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.730"
72+
return "v17.3.731"
7373

7474
stoploss = -0.99
7575

@@ -20180,6 +20180,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
2018020180
& ((df["RSI_3_4h"] > 5.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0) | (df["AROONU_14_4h"] < 30.0))
2018120181
# 4h & 1d down move, 15m still high
2018220182
& ((df["RSI_3_4h"] > 10.0) | (df["RSI_3_1d"] > 15.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 40.0))
20183+
# 4h down move, 4h still not low enough, 1d downtrend
20184+
& ((df["RSI_3_4h"] > 10.0) | (df["AROONU_14_4h"] < 20.0) | (df["ROC_9_1d"] > -10.0))
2018320185
# 4h down move, 1d still high, 1d downtrend
2018420186
& ((df["RSI_3_4h"] > 10.0) | (df["AROONU_14_1d"] < 40.0) | (df["ROC_9_1d"] > -30.0))
2018520187
# 4h down move, 1d high, 4h downtrend

0 commit comments

Comments
 (0)