The "Simple" strategy is based on the book called "The Simple Strategy" and follows the principles outlined in the book. The strategy uses various technical indicators to make buy and sell decisions. Indicators used:
MACD (Moving Average Convergence Divergence)
RSI (Relative Strength Index)
Bollinger Bands
The strategy has the following key components:
Minimal ROI: The strategy aims for a minimal return on investment (ROI) of 1%.
Stop Loss: The strategy sets a stop loss of -0.25, indicating that if the price drops by 0.25 units from the entry point, the position should be sold.
Ticker Interval: The strategy operates on a 5-minute ticker interval, meaning it analyzes price data in 5-minute intervals.
Indicator Calculation: The strategy calculates and populates the following indicators:
MACD line, signal line, and histogram
RSI with a time period of 7
Bollinger Bands (lower, upper, and middle bands)
Buy Signal: The strategy generates a buy signal when the following conditions are met:
MACD is above 0 and above the MACD signal line
Bollinger Bands' upper band is higher than the previous upper band, indicating an upward movement
RSI is above 70 (optional filter)
Sell Signal: The strategy generates a sell signal when the RSI is above 80. The strategy is designed to backtest trading strategies using historical data and evaluate their performance based on the defined indicators and rules.