Skip to content

Commit 3896efd

Browse files
committed
Buy 10: rework.
1 parent c93dd96 commit 3896efd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

NostalgiaForInfinityX.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class NostalgiaForInfinityX(IStrategy):
110110
INTERFACE_VERSION = 2
111111

112112
def version(self) -> str:
113-
return "v11.0.259"
113+
return "v11.0.260"
114114

115115
# ROI table:
116116
minimal_roi = {
@@ -535,7 +535,7 @@ def version(self) -> str:
535535
"sma200_rising_val" : "30",
536536
"sma200_1h_rising" : True,
537537
"sma200_1h_rising_val" : "50",
538-
"safe_dips_threshold_0" : 0.028,
538+
"safe_dips_threshold_0" : 0.026,
539539
"safe_dips_threshold_2" : 0.09,
540540
"safe_dips_threshold_12" : 0.16,
541541
"safe_dips_threshold_144" : 0.9,
@@ -9808,7 +9808,6 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
98089808
item_buy_logic.append((dataframe['ema_26'] - dataframe['ema_12']) > (dataframe['open'] * 0.017))
98099809
item_buy_logic.append((dataframe['ema_26'].shift() - dataframe['ema_12'].shift()) > (dataframe['open'] / 100))
98109810
item_buy_logic.append(dataframe['close'] < (dataframe['bb20_2_low'] * 0.984))
9811-
item_buy_logic.append(dataframe['close'] < dataframe['ema_20'] * 0.965)
98129811
item_buy_logic.append(dataframe['cti'] < -0.85)
98139812

98149813
# Condition #11 - Semi swing. Local dip.

0 commit comments

Comments
 (0)