Timeframe
1w
Direction
Long & Short
Stoploss
-99.0%
Trailing Stop
No
ROI
0m: 100000.0%
Interface Version
3
Startup Candles
999
Indicators
0
RamXX/freqtrade-public-bots
EMA8_21_cross_1 - Designed to backtest the 8/21 strategy on the weekly. In essence, it buys when EMA 8 crosses EMA 21 upwards, and sells in the reverse situation. It has ROI and stoploss disabled in order to ONLY use signals for entries and exits. This is a basic, barebone strategy created to assess the effectiveness of the 8/21 cross. Other versions in this repo add additional constraints.
RamXX/freqtrade-public-bots
EMA8_21_cross_2 - Designed to backtest the 8/21 strategy on the weekly. In essence, it buys when EMA 8 crosses EMA 21 upwards, and sells in the reverse situation. It has ROI and stoploss disabled in order to ONLY use signals for entries and exits.
RamXX/freqtrade-public-bots
EMA8_21_cross_3 - Designed to backtest the 8/21 strategy on the weekly. In essence, it buys when EMA 8 crosses EMA 21 upwards, and sells in the reverse situation. It has ROI and stoploss disabled in order to ONLY use signals for entries and exits.
import logging
from pandas import DataFrame
from freqtrade.strategy import (
IStrategy,
)
logger = logging.getLogger(__name__)
class DoNothing(IStrategy):
INTERFACE_VERSION = 3
# ROI table:
minimal_roi = {"0": 1000}
# Stoploss:
stoploss = -0.99
timeframe = "1w"
process_only_new_candles = True
startup_candle_count = 999
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
# delist = self.dp.check_delisting(metadata["pair"])
# logger.info(f"Pair {metadata['pair']} delisting status: {delist}")
return dataframe
def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
dataframe.loc[:, "enter_long"] = 0
return dataframe
def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
dataframe.loc[:, "exit_long"] = 0
return dataframe
class DoNothingFutures(DoNothing):
can_short = True