Skip to content

Commit

Permalink
X4: fine tune buy protection rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Oct 12, 2023
1 parent 5c1b8c0 commit 2072a42
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions NostalgiaForInfinityX4.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class NostalgiaForInfinityX4(IStrategy):
INTERFACE_VERSION = 3

def version(self) -> str:
return "v14.0.327"
return "v14.0.328"

# ROI table:
minimal_roi = {
Expand Down Expand Up @@ -6497,8 +6497,10 @@ def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame
(
(dataframe['not_downtrend_1h'])
| (dataframe['not_downtrend_4h'])
| (dataframe['rsi_3'] > 10.0)
| (dataframe['rsi_3_15m'] > 26.0)
| (dataframe['rsi_3'] > 16.0)
| (dataframe['close'] > dataframe['bb20_2_low_15m'])
| (dataframe['close'] > dataframe['bb20_2_low_1h'])
| (dataframe['rsi_3_15m'] > 36.0)
| (dataframe['rsi_3_1h'] > 30.0)
| (dataframe['rsi_14_15m'] < 30.0)
| (dataframe['rsi_14_1h'] < 36.0)
Expand Down

0 comments on commit 2072a42

Please sign in to comment.