Skip to content

Commit 2c555c4

Browse files
committed
Removed duplicate condition in buy 01
1 parent 9459a3c commit 2c555c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

NostalgiaForInfinityNext.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3534,7 +3534,6 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
35343534
item_buy_logic = []
35353535
item_buy_logic.append(reduce(lambda x, y: x & y, buy_protection_list[0]))
35363536
item_buy_logic.append(((dataframe['close'] - dataframe['open'].rolling(36).min()) / dataframe['open'].rolling(36).min()) > self.buy_min_inc_1.value)
3537-
item_buy_logic.append(((dataframe['close'] - dataframe['open'].rolling(36).min()) / dataframe['open'].rolling(36).min()) > self.buy_min_inc_1.value)
35383537
item_buy_logic.append(dataframe['rsi_1h'] > self.buy_rsi_1h_min_1.value)
35393538
item_buy_logic.append(dataframe['rsi_1h'] < self.buy_rsi_1h_max_1.value)
35403539
item_buy_logic.append(dataframe['rsi'] < self.buy_rsi_1.value)

0 commit comments

Comments
 (0)