Skip to content

Commit 8784d37

Browse files
committed
up
1 parent c7c0e19 commit 8784d37

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

user_data/strategies/NostalgiaForInfinityX7.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class NostalgiaForInfinityX7(IStrategy):
7070
INTERFACE_VERSION = 3
7171

7272
def version(self) -> str:
73-
return "v17.3.198"
73+
return "v17.3.201"
7474

7575
stoploss = -0.99
7676

@@ -14274,7 +14274,7 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1427414274
# 1h & 4h high, 1d overbought
1427514275
& ((df["AROONU_14_1h"] < 80.0) | (df["AROONU_14_4h"] < 100.0) | (df["ROC_9_1d"] < 100.0))
1427614276
# 1h & 1d high, 4h overbought
14277-
& ((df["AROONU_14_1h"] < 90.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 50.0))
14277+
& ((df["AROONU_14_1h"] < 90.0) | (df["AROONU_14_1d"] < 100.0) | (df["ROC_9_4h"] < 30.0))
1427814278
# 1h & 4h high, 1h overbought
1427914279
& ((df["AROONU_14_1h"] < 80.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 90.0) | (df["ROC_9_1h"] < 10.0))
1428014280
# 1h high & overbought
@@ -14301,6 +14301,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1430114301
& ((df["STOCHRSIk_14_14_3_3_1h"] < 80.0) | (df["ROC_9_4h"] < 40.0) | (df["CMF_20_1d"] > -0.25))
1430214302
# 4h high, 1h & 4h overbought
1430314303
& ((df["STOCHRSIk_14_14_3_3_4h"] < 90.0) | (df["ROC_9_1h"] < 10.0) | (df["ROC_9_4h"] < 30.0))
14304+
# 4h high & 4h & 1d overbought
14305+
& ((df["STOCHRSIk_14_14_3_3_4h"] < 90.0) | (df["ROC_9_4h"] < 20.0) | (df["ROC_9_1d"] < 20.0))
1430414306
# 1d hihg, 1h & 1d overbought
1430514307
& ((df["STOCHRSIk_14_14_3_3_1d"] < 90.0) | (df["ROC_9_1h"] < 30.0) | (df["ROC_9_1d"] < 100.0))
1430614308
# 1d high, 4h & 1d overbought
@@ -15607,6 +15609,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1560715609
& ((df["RSI_3_1h"] > 20.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0) | (df["ROC_9_1d"] > -40.0))
1560815610
# 1h down move, 1h downtrend, 4h overbought
1560915611
& ((df["RSI_3_1h"] > 25.0) | (df["ROC_9_1h"] > -20.0) | (df["ROC_9_4h"] < 20.0))
15612+
# 1h down move, 4h high
15613+
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_4h"] < 100.0))
15614+
# 1h down move, 4h high & overbought
15615+
& ((df["RSI_3_1h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 80.0) | (df["ROC_9_4h"] < 10.0))
1561015616
# 4h down move, 4h still high, 1d high
1561115617
& ((df["RSI_3_4h"] > 3.0) | (df["AROONU_14_4h"] < 50.0) | (df["AROONU_14_1d"] < 100.0))
1561215618
# 4h down move, 1d still high, 4h downtrend
@@ -18261,6 +18267,8 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1826118267
& ((df["RSI_3_15m"] > 3.0) | (df["AROONU_14_1d"] < 70.0) | (df["ROC_9_1d"] < 10.0))
1826218268
# 15m & 1h down move, 4h still high
1826318269
& ((df["RSI_3_15m"] > 5.0) | (df["RSI_3_1h"] > 10.0) | (df["STOCHRSIk_14_14_3_3_4h"] < 50.0))
18270+
# 15m & 1h down move, 1h still high
18271+
& ((df["RSI_3_15m"] > 5.0) | (df["RSI_3_1h"] > 25.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 50.0))
1826418272
# 15m & 1h down move, 1h high
1826518273
& ((df["RSI_3_15m"] > 5.0) | (df["RSI_3_1h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 80.0))
1826618274
# 15m & 4h down move, 1d high
@@ -18395,6 +18403,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1839518403
& ((df["RSI_3_1h"] > 25.0) | (df["RSI_3_4h"] > 25.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 70.0))
1839618404
# 1h & 4h down move, 1h high
1839718405
& ((df["RSI_3_1h"] > 25.0) | (df["RSI_3_4h"] > 30.0) | (df["AROONU_14_1h"] < 80.0))
18406+
# 1h down move, 1d high & overbought
18407+
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_1d"] < 85.0) | (df["ROC_9_1d"] < 40.0))
18408+
# 1h down move, 1d high & overbought
18409+
& ((df["RSI_3_1h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_1d"] < 80.0) | (df["ROC_9_1d"] < 40.0))
1839818410
# 1h down move, 15m still high, 1h high
1839918411
& ((df["RSI_3_1h"] > 30.0) | (df["AROONU_14_15m"] < 50.0) | (df["AROONU_14_1h"] < 85.0))
1840018412
# 1h down move, 4h high, 1d overbought
@@ -18972,6 +18984,10 @@ def populate_entry_trend(self, df: DataFrame, metadata: dict) -> DataFrame:
1897218984
& ((df["RSI_3_15m"] > 25.0) | (df["STOCHRSIk_14_14_3_3_15m"] < 50.0) | (df["ROC_9_1d"] < 30.0))
1897318985
# 15m & 4h down move, 1h high
1897418986
& ((df["RSI_3_15m"] > 30.0) | (df["RSI_3_4h"] > 30.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 70.0))
18987+
# 15m down move, 15m & 4h high
18988+
& ((df["RSI_3_15m"] > 30.0) | (df["AROONU_14_15m"] < 70.0) | (df["AROONU_14_4h"] < 70.0))
18989+
# 15m down move, 15m high, 1h high
18990+
& ((df["RSI_3_15m"] > 30.0) | (df["AROONU_14_15m"] < 70.0) | (df["STOCHRSIk_14_14_3_3_1h"] < 70.0))
1897518991
# 15m down move, 4h & 1d overbought
1897618992
& ((df["RSI_3_15m"] > 35.0) | (df["ROC_9_4h"] < 30.0) | (df["ROC_9_1d"] < 80.0))
1897718993
# 1h & 1d down move, 1d still high

0 commit comments

Comments
 (0)