The Quickie strategy is a momentum-based trading strategy designed to close trades quickly while minimizing losses. It utilizes several technical indicators to make buy and sell decisions. Indicators used:
MACD (Moving Average Convergence Divergence): The strategy calculates the MACD line, signal line, and histogram.
TEMA (Triple Exponential Moving Average): The strategy calculates the TEMA indicator with a time period of 9.
SMA (Simple Moving Average): The strategy calculates two SMAs, one with a time period of 200 and the other with a time period of 50.
ADX (Average Directional Index): The strategy calculates the ADX indicator. Buy Condition:
The strategy generates a buy signal when the following conditions are met:
ADX is greater than 30. TEMA is below the middle Bollinger Band. TEMA is increasing compared to the previous time period. SMA 200 is above the closing price. Sell Condition:
The strategy generates a sell signal when the following conditions are met:
ADX is greater than 70. TEMA is above the middle Bollinger Band. TEMA is decreasing compared to the previous time period. ROI and Stop Loss:
The strategy has predefined levels for minimal ROI (Return on Investment) and stop loss:
Minimal ROI: The strategy aims for a minimum ROI of 1% within 100 time periods, 3% within 30 time periods, 6% within 15 time periods, and 15% within 10 time periods. Stop Loss: The strategy has a fixed stop loss of -0.25, meaning a 25% loss will trigger the sell signal. Timeframe:
The strategy is designed to operate on a 5-minute timeframe. Note: This is a brief overview of the strategy, and further details can be found in the code provided.