Skip to content

Commit 42724d1

Browse files
committed
Buy 10: rework.
1 parent bf9d3b5 commit 42724d1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

NostalgiaForInfinityNext.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ class NostalgiaForInfinityNext(IStrategy):
468468
"close_under_pivot_offset" : 1.1
469469
},
470470
10: {
471-
"ema_fast" : False,
472-
"ema_fast_len" : "50",
471+
"ema_fast" : True,
472+
"ema_fast_len" : "35",
473473
"ema_slow" : True,
474474
"ema_slow_len" : "12",
475475
"close_above_ema_fast" : False,
@@ -1674,11 +1674,10 @@ class NostalgiaForInfinityNext(IStrategy):
16741674
buy_9_crsi_1h_min = 21.0
16751675

16761676
buy_10_ma_offset_high = 0.94
1677-
buy_10_bb_offset = 0.982
1678-
buy_10_r_14_max = -90.0
1677+
buy_10_bb_offset = 0.984
1678+
buy_10_r_14_max = -88.0
16791679
buy_10_cti_1h_min = -0.5
16801680
buy_10_cti_1h_max = 0.94
1681-
buy_10_r_480_1h_max = -5.0
16821681

16831682
buy_11_ma_offset = 0.956
16841683
buy_11_min_inc = 0.022
@@ -4753,7 +4752,6 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
47534752
item_buy_logic.append(dataframe['r_14'] < self.buy_10_r_14_max)
47544753
item_buy_logic.append(dataframe['cti_1h'] > self.buy_10_cti_1h_min)
47554754
item_buy_logic.append(dataframe['cti_1h'] < self.buy_10_cti_1h_max)
4756-
item_buy_logic.append(dataframe['r_480_1h'] < self.buy_10_r_480_1h_max)
47574755

47584756
# Condition #11
47594757
elif index == 11:

0 commit comments

Comments
 (0)