Skip to content

Commit fa5f1bb

Browse files
committed
Buy 52: rework.
1 parent 2b9dc63 commit fa5f1bb

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

NostalgiaForInfinityX.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class NostalgiaForInfinityX(IStrategy):
107107
INTERFACE_VERSION = 2
108108

109109
def version(self) -> str:
110-
return "v10.8.157"
110+
return "v10.8.158"
111111

112112
# ROI table:
113113
minimal_roi = {
@@ -1428,11 +1428,11 @@ def version(self) -> str:
14281428
"safe_pump_12h_threshold" : None,
14291429
"safe_pump_24h_threshold" : None,
14301430
"safe_pump_36h_threshold" : None,
1431-
"safe_pump_48h_threshold" : 1.4,
1431+
"safe_pump_48h_threshold" : 1.1,
14321432
"btc_1h_not_downtrend" : False,
14331433
"close_over_pivot_type" : "none", # pivot, sup1, sup2, sup3, res1, res2, res3
14341434
"close_over_pivot_offset" : 1.0,
1435-
"close_under_pivot_type" : "none", # pivot, sup1, sup2, sup3, res1, res2, res3
1435+
"close_under_pivot_type" : "res3", # pivot, sup1, sup2, sup3, res1, res2, res3
14361436
"close_under_pivot_offset" : 1.0
14371437
},
14381438
43: {
@@ -9093,15 +9093,16 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
90939093
# Condition #42 - 15m. Semi swing. Local dip. 15m uptrend.
90949094
elif index == 42:
90959095
# Non-Standard protections
9096+
item_buy_logic.append(dataframe['close'] > (dataframe['sup_level_1h'] * 0.92))
90969097

90979098
# Logic
9098-
item_buy_logic.append(dataframe['ewo_15m'] > 5.4)
9099+
item_buy_logic.append(dataframe['ewo_15m'] > 7.8)
90999100
item_buy_logic.append(dataframe['rsi_14_15m'] < 36.0)
91009101
item_buy_logic.append(dataframe['cti_15m'] < -0.9)
9101-
item_buy_logic.append(dataframe['cci_15m'] < -175.0)
9102-
item_buy_logic.append(dataframe['r_14_15m'] < -97.0)
9103-
item_buy_logic.append(dataframe['r_14'] < -94.0)
9104-
item_buy_logic.append(dataframe['cti_1h'] < 0.8)
9102+
item_buy_logic.append(dataframe['r_14_15m'] < -90.0)
9103+
item_buy_logic.append(dataframe['r_14'] < -96.0)
9104+
item_buy_logic.append(dataframe['mfi'] > 24.0)
9105+
item_buy_logic.append(dataframe['crsi_1h'] > 14.0)
91059106

91069107
# Condition #43 - 15m. Semi swing. Local dip. 1h uptrend.
91079108
elif index == 43:

0 commit comments

Comments
 (0)