Skip to content

Commit

Permalink
Buy 23: rework.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Jan 15, 2022
1 parent f979065 commit 050499d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NostalgiaForInfinityX.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class NostalgiaForInfinityX(IStrategy):
INTERFACE_VERSION = 2

def version(self) -> str:
return "v10.10.64"
return "v10.10.65"

# ROI table:
minimal_roi = {
Expand Down Expand Up @@ -9271,7 +9271,7 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
# Non-Standard protections (add below)

# Logic
item_buy_logic.append(dataframe['ewo'].shift(1) < -6.4)
item_buy_logic.append(dataframe['ewo'].shift(1) < -5.8)
item_buy_logic.append(dataframe['cti'].shift(1).rolling(5).max() < -0.9)
item_buy_logic.append(dataframe['r_14'].shift(1) < -97.0)
item_buy_logic.append(dataframe['close'] > (dataframe['open'].shift(1)))
Expand Down

0 comments on commit 050499d

Please sign in to comment.