The "JustROCR6" strategy is a trading strategy implemented in Python using the Freqtrade library. It is designed to backtest trading decisions based on the Rate of Change Ratio (ROCR) indicator. Here's a breakdown of what the strategy does:
Indicators:
The strategy populates several ROCR indicators with different time periods (499, 200, 100, 50, 10, 5, and 2) on the input dataframe.
Buy Signal:
The strategy generates a buy signal when the following conditions are met:
The ROCR499 value is greater than 1.20.
The ROCR200 value is greater than 1.15.
The ROCR100 value is greater than 1.125. The ROCR50 value is greater than 1.10. The ROCR10 value is greater than 1.075. The ROCR5 value is greater than 1.05. The ROCR2 value is greater than 1.01. If all these conditions are true, a "buy" signal is marked in the dataframe. Sell Signal:
The strategy does not provide any specific conditions for generating sell signals. The populate_sell_trend function is empty, meaning there are no sell conditions defined within this strategy. Additional logic would need to be implemented to determine when to sell. Additional parameters and settings:
The strategy defines a minimal_roi (minimal return on investment) dictionary, where a return of 0.05 (5%) is set as the minimum target ROI. The strategy sets a stop loss of -0.01 (-1%) to limit potential losses. Trailing stop functionality is enabled (trailing_stop = True), allowing the strategy to adjust the stop loss level as the price moves in the favorable direction. The ticker interval is set to '1m', indicating that the strategy operates on 1-minute candlestick data. Overall, the strategy aims to identify buy opportunities based on specific ROCR values across different time periods. It lacks explicit sell conditions, which would need to be implemented separately to complete the trading strategy.