Skip to content

Commit afdd8d3

Browse files
committed
X7: signal 6: add protection.
1 parent 7478a04 commit afdd8d3

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.777"
72+
return "v17.3.778"
7373

7474
stoploss = -0.99
7575

@@ -14509,6 +14509,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1450914509
& ((df["AROONU_14_1d"] < 80.0) | (df["ROC_9_1h"] < 20.0) | (df["ROC_9_1d"] < 50.0))
1451014510
# 1d high, 1h & 4h downtrend
1451114511
& ((df["AROONU_14_1d"] < 85.0) | (df["ROC_9_1h"] > -30.0) | (df["ROC_9_4h"] > -50.0))
14512+
# 1d high, 1h & 1d overbought
14513+
& ((df["AROONU_14_1d"] < 90.0) | (df["ROC_9_1h"] < 10.0) | (df["ROC_9_1d"] < 50.0))
1451214514
# 1d high, 4h & 1d overbought
1451314515
& ((df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 20.0) | (df["ROC_9_1d"] < 30.0))
1451414516
# 15m still not low enough, 4h high, 1d overbought

0 commit comments

Comments
 (0)