The "EMAPriceCrossoverWithThreshold" strategy is designed to backtest a trading strategy based on the exponential moving average (EMA) crossover with a threshold. Here's how the strategy works:
The strategy uses the EMA with a period of 800 as an indicator. A threshold percentage is calculated based on the EMA800 value.
The strategy generates a buy signal when the close price of the asset crosses above the EMA800 and there is volume present.
The strategy generates a sell signal when the close price of the asset crosses below the calculated EMA threshold.
Some important details about the strategy:
The minimal return on investment (ROI) and stop loss values can be specified in the config file, but they are not explicitly defined in the code. The optimal timeframe for the strategy is set to 1 hour. The strategy uses a trailing stop loss. The strategy provides functions to populate indicators, buy signals, and sell signals in the DataFrame used for backtesting. You can use this strategy by downloading the required data, specifying the timeframe and timerange, and then running the backtesting and plot commands with the strategy name "EMAPriceCrossoverWithThreshold". Note: This strategy was authored by Paul Csapak and is available on GitHub at https://github.com/paulcpk/freqtrade-strategies-that-work.