The "JustROCR2" strategy is a trading strategy implemented using the Freqtrade library. It aims to generate buy and sell signals based on the rate of change ratio (ROCR) indicator. Here's a breakdown of the strategy:
The strategy uses the 5-minute ticker interval for analyzing price data.
The "populate_indicators" function calculates the ROCR indicator with a period of 499 and adds it to the dataframe.
The "populate_buy_trend" function generates a buy signal when the ROCR value is greater than 1.20.
The "populate_sell_trend" function is empty, indicating that there is no specific condition for generating sell signals. You would need to add the necessary condition based on your trading strategy. The strategy sets a minimal return on investment (ROI) of 0.05 (5%) and a stop loss of -0.01 (-1%). The trailing stop feature is enabled, allowing the stop loss to adjust dynamically based on price movements. By backtesting this strategy using historical price data, you can evaluate its performance and determine its effectiveness in generating profitable trades.