Skip to content

Commit ec336eb

Browse files
committed
X7: signal 41: add protection.
1 parent 7e8c6f3 commit ec336eb

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.638"
72+
return "v17.3.639"
7373

7474
stoploss = -0.99
7575

@@ -14978,6 +14978,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1497814978
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_1h"] < 80.0) | (df["AROONU_14_4h"] < 100.0))
1497914979
# 1h down move, 1h high, 1d downtrend
1498014980
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_1h"] < 80.0) | (df["ROC_9_1d"] > -40.0))
14981+
# 1h down move, 1h high, 4h overbought
14982+
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_1h"] < 90.0) | (df["ROC_9_4h"] < 10.0))
1498114983
# 1h down move, 4h high, 1d overbought
1498214984
& ((df["RSI_3_1h"] > 35.0) | (df["AROONU_14_4h"] < 70.0) | (df["ROC_9_1d"] < 200.0))
1498314985
# 1h down move, 4h high & overbought

0 commit comments

Comments
 (0)